Wait function?
#1

Hello everyone, I am trying to create a sky diving FS, and I need to have a "pause/wait" function for a few seconds before the player recives a parachute while in sky already..is there anyway to do it?

For those who didn't understand:

pawn Код:
CMD:skydive(playerid, params[]);
  {
    SetPlayerPos(playerid, 1763.6770,-1385.8885,20005.7148);
    SendClientMessage(playerid, COLOR_YELLOW, "[TELEPORT] {FFFFFF}- You've been teleported to skydive map . Enjoy your flight.");
    SendClientMessage(playerid, COLOR_RED, "[ERROR, error, ErRoR...] {FFFFFF}- We failed to give you a parachute, we hope to fix the problem shortly!");


// Wait a few seconds function here


//Later on giveplayerwep...
   
  }
Thanks in advance!


EDIT: I am reciving this 2 error lines when compiling, what does that mean?


pawn Код:
C:\Users\Arty\Desktop\test.pwn(117) : error 055: start of function body without function header
C:\Users\Arty\Desktop\test.pwn(121) : error 010: invalid function or declaration
Pawn compiler 3.2.3664          Copyright (c) 1997-2006, ITB CompuPhase


2 Errors.
Reply


Messages In This Thread
Wait function? - by CesarLT - 18.09.2013, 08:28
Re: Wait function? - by Konstantinos - 18.09.2013, 08:33
Re: Wait function? - by CesarLT - 18.09.2013, 08:36
Re: Wait function? - by Konstantinos - 18.09.2013, 08:47
Re: Wait function? - by CesarLT - 18.09.2013, 08:59

Forum Jump:


Users browsing this thread: 1 Guest(s)