Stupid problems, spawning
#9

[img]www.nl-gaming.com/error.png[/img]

Thats what i keep getting.

My code:
pawn Код:
public OnPlayerSpawn(playerid)
{
    switch(SpawnType[playerid])
    {
        case 0:
        {
          // When the player dies
        }
        case 1:
        {
        SetPlayerPos(playerid, UserStats[playerid][ppos_x], UserStats[playerid][ppos_y], UserStats[playerid][ppos_z]);
        SetPlayerScore(playerid, UserStats[playerid][Level]);
        SetPlayerCash(playerid, UserStats[playerid][Money]);
        }
        case 2:
        {
        SetPlayerPos(playerid, -1970.8109,117.8598,27.6875);
        }
}
   
    return 1;
}
Login:
pawn Код:
SetSpawnInfo(playerid, 0, UserStats[playerid][Skin], UserStats[playerid][ppos_x], UserStats[playerid][ppos_y], UserStats[playerid][ppos_z], 0.0, 0, 0, 0, 0, 0, 0);
    SpawnPlayer(playerid);
Help is much needed/appreciated.
Reply


Messages In This Thread
Stupid problems, spawning - by Anthonyx3' - 11.01.2011, 04:08
Re: Stupid problems, spawning - by _rAped - 11.01.2011, 11:16
Re: Stupid problems, spawning - by Anthonyx3' - 11.01.2011, 11:20
Re: Stupid problems, spawning - by _rAped - 11.01.2011, 11:21
Re: Stupid problems, spawning - by Anthonyx3' - 11.01.2011, 11:29
Re: Stupid problems, spawning - by _rAped - 11.01.2011, 11:37
Re: Stupid problems, spawning - by Anthonyx3' - 11.01.2011, 11:45
Re: Stupid problems, spawning - by _rAped - 11.01.2011, 11:59
Re: Stupid problems, spawning - by Anthonyx3' - 11.01.2011, 16:52
Re: Stupid problems, spawning - by _rAped - 11.01.2011, 16:56

Forum Jump:


Users browsing this thread: 1 Guest(s)