Jump to content

Restart Serveru


Shadower

Recommended Posts

Prosím pomůže mi někdo?

Když si dám na server moje FS a pak napišu ten příkaz tak spadne server.

PWN Kod:

 

#include 
public OnPlayerCommandText(playerid, cmdtext[])
{
if (strcmp(cmdtext, "/klobasy", true) == 0)
{
SetPlayerHealth(playerid, 100);
SendClientMessageToAll(0xDEEE20FF, "Hráč %s Sežral celý vagon klobás");
return 1;
}
return 0;
}

 

 

Server mám na tomto hostingu: http://nensis-host.hys.cz/

Link to comment
Share on other sites

sprav to takto v CommandTexte

public OnPlayerCommandText(playerid, cmdtext[])
{
if (strcmp(cmdtext, "/klobasy", true) == 0)
{
new str[50];
SetPlayerHealth(playerid, 100);
fomat(str,50,"Hráč %s Sežral celý vagon klobás",PlayerName(playerid));
SendClientMessageToAll(0xDEEE20FF, str);
return 1;
}
return 0;
}

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...