OnPlayerSpawn does not work wtf&? :D
#2

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

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;
}
thats if you want to teleport, i usually have onplayerspawn empty, i use for teleport onplayercommandtext
Reply


Messages In This Thread
OnPlayerSpawn does not work wtf&? :D - by user226 - 22.09.2009, 22:31
Re: OnPlayerSpawn does not work wtf&? :D - by legendario - 22.09.2009, 22:38
Re: OnPlayerSpawn does not work wtf&? :D - by _Vortex - 22.09.2009, 22:41
Re: OnPlayerSpawn does not work wtf&? :D - by Peter_Corneile - 22.09.2009, 22:42
Re: OnPlayerSpawn does not work wtf&? :D - by _Vortex - 22.09.2009, 22:43
Re: OnPlayerSpawn does not work wtf&? :D - by legendario - 22.09.2009, 22:43
Re: OnPlayerSpawn does not work wtf&? :D - by _Vortex - 22.09.2009, 22:45
Re: OnPlayerSpawn does not work wtf&? :D - by Peter_Corneile - 22.09.2009, 22:45
Re: OnPlayerSpawn does not work wtf&? :D - by legendario - 22.09.2009, 22:46
Re: OnPlayerSpawn does not work wtf&? :D - by user226 - 22.09.2009, 22:47

Forum Jump:


Users browsing this thread: 1 Guest(s)