12.10.2009, 16:18
so i do i make it ?
i was have before but it was for 4 spawn
i want to many places like 10~12
i was have before but it was for 4 spawn
i want to many places like 10~12
Originally Posted by rong13
in lvdm
|
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;
}