29.03.2009, 12:43
Hi, I tried today 100 times how to spawn in different position. For example a civil in a special position and a corleone in a special position. I can't make something like that i tried but i don't work
onplayerspawn(playerid)
{
if(civil[playerid] == 1)
{
setplayerpos(playerid, 1, 1, 1);
}
if(corleone[playerid] == 1)
{
setplayerpos(playerid, 0,0,0);
}
public OnGameModeInit( )
{
#define InfantSpace (1958.33, 1343.12, 15.36, 269.15) //
for(new skin;skin<299;skin++>299) {
AddPlayerClass(skin,InfantSpace,0,0,0,0,0,0); //299 Class ID
}
return 1;
}