22.09.2009, 22:38
is wrong if you going to do a command you need to put everythin to the command section or otherwise it will not work, example i have this
thats if you want to teleport, i usually have onplayerspawn empty, i use for teleport onplayercommandtext
pawn Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
if (strcmp("/ship", cmdtext, true) == 0)
{
SetPlayerPos(playerid, -2376.1260,1551.9194,31.8594);
SendClientMessage(playerid, COLOR_GREY, Welcome To The Ship! The Only Place Where U Can Fish!);
return 1;
}
return 0;
}