help to create random spawn
#1

so i do i make it ?
i was have before but it was for 4 spawn
i want to many places like 10~12
Reply
#2

i was have it
i delete it ...
and that was do probloms
Reply
#3

some 1 ?
Reply
#4

pliz help
Reply
#5

http://forum.sa-mp.com/index.php?action=search

there you go. this is a magic machine.
just write 'random spawn' there... i think you'll get the rest.
Reply
#6

i did not find some thing that can help me ..
Reply
#7

in lvdm
Reply
#8

Quote:
Originally Posted by rong13
in lvdm
I recommend you to use a very useful function. They are named as Copy & Paste
Reply
#9

pliz some 1 help
and the search dont help
is fine so many things and no 1 helps me ..
Reply
#10

pawn Код:
new IsPlayerInDM[MAX_PLAYERS];

public OnPlayerCommandText(playerid, cmdtext[])
{
  if(strcmp(cmdtext, "/dm1"))== 0)
  {
    IsPlayerInDM[playerid] = 1;
    SetPlayerPos(playerid, x, y, z);
    return 1;
  }
  return 0;
}


public OnPlayerSpawn(playerid)
{
  switch(IsPlayerInDM[playerid])
  {
    case 0: {SetPlayerPos(playerid, x, y, z);}
    case 1: {SetPlayerPos(playerid, x, y, z);}
    case 2: {SetPlayerPos(playerid, x, y, z);}
  }
  return 1;
}
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)