SA-MP Forums Archive
Urgent help needed, Simple question - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Urgent help needed, Simple question (/showthread.php?tid=519461)



Urgent help needed, Simple question - Le3aT - 14.06.2014

PHP код:
C:\Users\zero\Downloads\EDM Extreme Deathmatch Mania\gamemodes\Untitled.pwn(2447) : error 029invalid expressionassumed zero
C
:\Users\zero\Downloads\EDM Extreme Deathmatch Mania\gamemodes\Untitled.pwn(2447) : error 017undefined symbol "cmd_givenational"
C:\Users\zero\Downloads\EDM Extreme Deathmatch Mania\gamemodes\Untitled.pwn(2447) : error 029invalid expressionassumed zero
C
:\Users\zero\Downloads\EDM Extreme Deathmatch Mania\gamemodes\Untitled.pwn(2447) : fatal error 107too many error messages on one line
Compilation aborted
.Pawn compiler 3.2.3664              Copyright (c1997-2006ITB CompuPhase
4 Errors

What is that ?
The line.
PHP код:
CMD:giveng(playeridparams[])
{
    return 
1;




Re: Urgent help needed, Simple question - Eth - 14.06.2014

show me the line before 2447.


Re: Urgent help needed, Simple question - iFiras - 14.06.2014

Quote:
Originally Posted by Le3aT
Посмотреть сообщение
What is that ?
The line.
PHP код:
CMD:giveng(playeridparams[])
{
    return 
1;

That's a ZCMD command, it doesn't have any paramters. So when you type it, nothing happens.


Re: Urgent help needed, Simple question - Rittik - 14.06.2014

Quote:
Originally Posted by iFiras
Посмотреть сообщение
That's a ZCMD command, it doesn't have any paramters. So when you type it, nothing happens.
You are totally wrong mate .It does compile.


Re: Urgent help needed, Simple question - RenovanZ - 14.06.2014

Have you included ZCMD ? I tried this code works, no errors nor warnings.