Jump to content

Question

Posted

Ciao..

Deci am o problema am luat de pe .com sistemul de race a lui ryder..[rRace_v02] si am o problema cand dau compile

imi scrie

rRace.pwn(400) : error 017: undefined symbol "isnull"
Pawn compiler 3.2.3664	 	 	Copyright (c) 1997-2006, ITB CompuPhase


1 Error.
Linia 400
if(isnull(params)) return SendClientMessage(playerid, RED, "<!> /startrace [racename]");
daca pun
#define isnull
Imi da eroarea
rRace.pwn(401) : error 033: array must be indexed (variable "params")

Linia 401 find tot linia 400 ^^

Deci ce sa fac ?

youtube.com/secretofficial1 < - SECRET CHANNEL !

3 answers to this question

Recommended Posts

Posted

nu gasesc isnull params...ca am avut-o undeva...

dar poti folosi si sscanf

faci asa:

#include < sscanf2 >
si acolo in loc de isnull
if ( sscanf( params, "s[56]", params[ 0 ] ) ) return SendClientMessage(playerid, RED, "<!> /startrace [racename]");

Fara reclama in semnatura!

Posted

nu gasesc isnull params...ca am avut-o undeva...

dar poti folosi si sscanf

faci asa:

#include < sscanf2 >
si acolo in loc de isnull
if ( sscanf( params, "s[56]", params[ 0 ] ) ) return SendClientMessage(playerid, RED, "<!> /startrace [racename]");

am facut asa nu mai imi da erori..Dar se inchide dialogul adik dau buildrace aleg de akl si se inchide dialogul

uitati aici linkul de la fs http://solidfiles.com/d/bFba/

youtube.com/secretofficial1 < - SECRET CHANNEL !

Posted

Ia-ti ZCMD bun ...

sau inlocuieste

if(isnull(params)) return SendClientMessage(playerid, RED, "<!> /startrace [racename]");
cu
if(!strlen(params)) return SendClientMessage(playerid, RED, "<!> /startrace [racename]");

Guest
This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.