Jump to content

Checkpointy


Guest Justin Bieber

Recommended Posts

public OnPlayerEnterCheckpoint(playerid)
{
   Ban(playerid);
   DisablePlayerCheckpoint(playerid);
   return 1;
}

 

Kdyz vstoupi do CP tak ho to zabanuje a zrusi mu to CP. Podminku tam cpat nemusis.

Link to comment
Share on other sites

pár errorov

C:\Users\Danny\Desktop\kupalisko.pwn(941) : error 029: invalid expression, assumed zero
C:\Users\Danny\Desktop\kupalisko.pwn(941) : warning 215: expression has no effect
C:\Users\Danny\Desktop\kupalisko.pwn(941) : error 001: expected token: ";", but found ")"
C:\Users\Danny\Desktop\kupalisko.pwn(941) : error 029: invalid expression, assumed zero
C:\Users\Danny\Desktop\kupalisko.pwn(941) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664	 	 	Copyright (c) 1997-2006, ITB CompuPhase



4 Errors.

riadok

    GivePlayerMoney(playerid, +100);

Link to comment
Share on other sites

  • 5 months later...
  • 2 months later...
  • 5 months later...
že by Ti tam chyběl DisablePlayerCheckpoint? dej to sem celý - to co si udělal..

 

Okej ja to mam spravene do dialogu :

 

else if(listitem == 5)

{

SetPlayerPos(playerid,-2068.1616,473.7953,141.0755);

SetPlayerCheckpoint(playerid, -2121.4912,518.9149,79.1693, 3.0);

cp[playerid] = 0;

}

 

 

< tot mam pri dialogu

_________________________

 

a v OnPlayerEnterCP

 

switch(cp[playerid])

{

case 0:

{

DisablePlayerCheckpoint(playerid);

cp[playerid]++;

SetPlayerCheckpoint(playerid, -2176.3418,482.5077,74.5859, 3.0);

}

 

_________________________

To je vsetko

Link to comment
Share on other sites

  • 2 years later...
Guest
This topic is now closed to further replies.
×
×
  • Create New...