PDA

View Full Version : Weapons and Team Selector won't spawn


MiGu3X
04/02/2013, 04:51 PM
Hey all, I need help on this stuff, I'm new on pawn and scripting and i couldnt find help even though i looked all over the wiki (+ i got bad english (a bit)).

The problem is that the weapons dont appear and also team selector doesn't appear, this is the code i have-

public OnPlayerRequestClass (playerid, classid)
{
SetSpawnInfo ( playerid, 1, 102, 2129.6470, -1826.9579, 13.5537, 11.0009, 24, 9999, 25, 9999, 0, 0 );
SetSpawnInfo ( playerid, 1, 103, 2126.9363, -1813.4115, 13.5540, 11.3142, 24, 9999, 25, 9999, 0, 0 );
SetSpawnInfo ( playerid, 1, 104, 2127.3975, -1799.4700, 13.5538, 0.6608, 24, 9999, 25, 9999, 0, 0 );
SetSpawnInfo ( playerid, 2, 105, 2505.3215, -1657.0532, 13.5938, 115.8239, 24, 9999, 25, 9999, 0, 0 );
SetSpawnInfo ( playerid, 2, 106, 2509.7244, -1671.1815, 13.3924, 79.1635, 24, 9999, 25, 9999, 0, 0 );
SetSpawnInfo ( playerid, 2, 107, 2502.5266, -1681.0723, 13.3817, 68.5101, 24, 9999, 25, 9999, 0, 0 );
GivePlayerMoney (playerid, 100);
SpawnPlayer (playerid);
return 1;
}

But i don't know why i dont get weapons, I just spawn with the first SpawnInfo (id 102) and without weps, help please ;) I'll rep +