11.01.2011, 16:52
[img]www.nl-gaming.com/error.png[/img]
Thats what i keep getting.
My code:
Login:
Help is much needed/appreciated.
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;
}
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);