Spawns
#1

Ok I made random spawns ... it works great but the problem is i wanna make cops and medics etc random spawns somewhere at pd ... how i can make that ?

ty for any help
Reply
#2

Same like random, just check if they're a cop/medic and set their position somewhere.
Reply
#3

And you can check if they're a cop/medic by doing something like this:

pawn Код:
new skin = GetPlayerSkin(playerid);
if(skin == TheSkinID)
{
SetPlayerPos(playerid, float:x, float:y, float:z);
return 1;
}
if(skin == TheOtherSkinID)
{
SetPlayerPos(playerid, float:x, float:y, float:z);
return 1;
}
Reply
#4

ok ty guys i will try to make
Reply
#5

If you look in the LVDM script that comes with the server pack, there's an example of how EXACTLY how to do it.

WeeDarr
Reply
#6

ow thank you guys btw i didnt know i can see this at LVDM ^^ atm i dont have any errors and i dont test it yet cuz i must do teams
but i think it will work
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)