Spawn Help... [Not solved]
#1

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
Reply
#2

Anybody
Reply
#3

Do you mean random spawns?
Reply
#4

pawn Код:
onplayerspawn(playerid)
{
 if(civil[playerid] == 1)
 {
 setplayerpos(playerid, 1, 1, 1);
 }
 if(corleone[playerid] == 1)
 {
 setplayerpos(playerid, 0,0,0);
 }

Reply
#5

If you just mean like a different spawn for a different skin. (One spawn a skin) then just modify your AddPlayerClass

https://sampwiki.blast.hk/wiki/AddPlayerClass
Reply
#6

Everyone,

pawn Код:
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;
}
Reply
#7

That has NOTHING to do with his question!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)