Help with this.
#1

if(strcmp(cmd, "/panic", true) == 0)
{
new name[MAX_PLAYERS], string[50],x;
GetPlayerName(playerid, name, sizeof(name));
if(team[playerid] == 2) return SendClientMessage(playerid, YELLOW, "You are not a human.");
if(team[playerid] != 1) return SendClientMessage(playerid, YELLOW, "You must stay calm.");
format(string, sizeof(string), "%s is Panicing and needs assistance.", name);
for(x=0;x<MAX_PLAYERS;x++)
{
if(team[x] != 2)
{
new Float:X3,Float:Y3,Float:Z3;
DisablePlayerCheckpoint(x);
GetPlayerPos(x,X3,Y3,Z3);
SetPlayerCheckpoint(x,X3,Y3,Z3,8.0);
}
}
SendClientMessageToAll(YELLOW,string);
return 1;
}

how can i make it remove the checkpoint for 1 minute? please reply
Reply
#2

Do you want to destroy it for one minute and then create it again?
Reply
#3

destroy / it will automatically be removed
Reply
#4

Please give some more info as to what you are trying to do
Reply
#5

when i type /panic there will be a checkpoint where people can go there to help me.
when people came there nothing happens i want it to be removed after 1 minute
Reply
#6

You mean if noone comes to help you, then the checkpoint should be removed?
Or if some players comes and help you, the checkpoint should be removed after 1 minute of recieving help?
Or they should help you within the one minute after which the checkpoint will be gone?
Reply
#7

i want to make my skin selection to be like this so they know if its zombies or survivors

Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)