i need help
#1

i.need help for zombie server. I need a checkpoint system which comes after every 5min at diff places with an annoncement. There would be 10 checkpoints after that when the survivor cleared their last cp then there will be written survivors won. and the gamemode will start a new game again.

plz help urgent
Reply
#2

you cant ask someone to script in help section you should try yourself scripting instead of asking someone.Then you faced some problem or not getting idea to continue with the script post here.You should also put some effort too.
Reply
#3

Also learn to make a more descriptive title rather than "I need help".
Reply
#4

please sir i have tried a lot but nothing work plz help me sir i m new to scripting only give me some clue i ill do at my own
Reply
#5

new bool nCheck[ MAX_PLAYERS ] ;
public OnPlayerSpawn( playerid )
{
SetPlayerCheckpoint( playerid, 1982.6150 , -220.6680 , -0.2432 , 3.0 ) ;
onCheck [playerid ] = true;
return 1 ;
}
public OnPlayerEnterCheckpoint (playerid )
{
if( onCheck[ playerid ]) // if it's true
{
GivePlayerMoney ( playerid, 1000 ) ;
DisablePlayerCheckpoint ( playerid ) ;
onCheck [playerid ] = false;
}
return 1 ;
}

but i need not to end checkpoint instantly after someome enter it. I mean when someone end cp it will end after 2min
Reply


Forum Jump:


Users browsing this thread: 5 Guest(s)