27.07.2015, 16:07
ok so hey ,
i want to create a event,so i've created the map,now i need some help guys
first,for player count,i want to make maximum players in event:20,i want to make sure from codes,something like this?:
is that exact or?,,,
ok so second,i want to choose a position for each player,i don't want to make them spawn in the same position,and here i don't know how xD,i already took 20 different positions,just need codes..
and for countdown,i want to set a timer,and put it in a textdraw,how to set the timer exactly?
and i want to know last man standing in the event,its a DM event,if(PlayerCount == 1) but how to get his name,and where to put them..
thanks in advance
i want to create a event,so i've created the map,now i need some help guys
first,for player count,i want to make maximum players in event:20,i want to make sure from codes,something like this?:
PHP код:
new PlayerCount;
CMD:joinevent(playerid,params[])
{
// some codes ...
if(PlayerCount == 20) return SendClientMessage(playerid,-1,"event is full");
PlayerCount++;
return 1;
}
ok so second,i want to choose a position for each player,i don't want to make them spawn in the same position,and here i don't know how xD,i already took 20 different positions,just need codes..
and for countdown,i want to set a timer,and put it in a textdraw,how to set the timer exactly?
and i want to know last man standing in the event,its a DM event,if(PlayerCount == 1) but how to get his name,and where to put them..
thanks in advance