Quote:
Originally Posted by Cr4zyR0d
Код:
UsePlayerPedAnims();
// Player Class's
for(new i = 0; i <= sizeof(PedSkins)-1; i++)
{
AddPlayerClass(PedSkins[i][0],982.1890,-1624.2583,14.952,90,-1,-1,-1,-1,-1,-1);
}
I have to delete all this?^
|
Yes. As long as you don't have this UsePlayerPedAnims(); You won't have any problems.
As for AddPlayerClass, this is how it works
PHP код:
AddPlayerClass(skin, Float:x, Float:y, Float:z, Float:Angle, weapon1, weapon1_ammo, weapon2, weapon2_ammo, weapon3, weapon3_ammo)
Its the skin you spawn in, so basically delete the whole thing.
After that pick the skin you want your players to spawn in, and use it this way.
PHP код:
public OnGameModeInit()
{
AddPlayerClass(240, 1958.33, 1343.12, 15.36, 269.15, 0, 0, 0, 0, 0, 0);
return 1;
}