03.10.2012, 22:09
(
Последний раз редактировалось benel1; 03.10.2012 в 22:40.
)
Hello ..
i have a problem in this public:
OnPlayerSpawn
the problem:
When I died instantly created
i only get a pistol and here the codes: - can you tell me what is the problem ?
Sorry for my bad english it's GT [****** translate]
i have a problem in this public:
OnPlayerSpawn
the problem:
When I died instantly created
i only get a pistol and here the codes: - can you tell me what is the problem ?
pawn Код:
new RandomWeapons[] =
{
24,
27,
29,
31,
4
};
pawn Код:
public OnPlayerSpawn(playerid)
{
GivePlayerWeapon(playerid, RandomWeapons[random(sizeof(RandomWeapons))], 500);
GivePlayerWeapon(playerid, RandomWeapons[random(sizeof(RandomWeapons))], 500);
GivePlayerWeapon(playerid, RandomWeapons[random(sizeof(RandomWeapons))], 500);
}
return 1;
}