help to create random spawn - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: help to create random spawn (
/showthread.php?tid=101861)
help to create random spawn -
rong13 - 12.10.2009
so i do i make it ?
i was have before but it was for 4 spawn
i want to many places like 10~12
Re: help to create random spawn -
rong13 - 12.10.2009
i was have it
i delete it ...
and that was do probloms
Re: help to create random spawn -
rong13 - 12.10.2009
some 1 ?
Re: help to create random spawn -
rong13 - 13.10.2009
pliz help
Re: help to create random spawn -
_CHoz - 13.10.2009
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.
Re: help to create random spawn -
rong13 - 14.10.2009
i did not find some thing that can help me ..
Re: help to create random spawn -
rong13 - 14.10.2009
in lvdm
Re: help to create random spawn -
Jakku - 14.10.2009
Quote:
Originally Posted by rong13
in lvdm
|
I recommend you to use a very useful function. They are named as Copy & Paste
Re: help to create random spawn -
rong13 - 14.10.2009
pliz some 1 help
and the search dont help
is fine so many things and no 1 helps me ..
Re: help to create random spawn -
dice7 - 14.10.2009
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;
}