Need Help! - 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: Need Help! (
/showthread.php?tid=403153)
Need Help! -
TwisTa98 - 29.12.2012
I Have Error's In My Gamemode
Код HTML:
C:\Users\TwisTa\Desktop\San Fierro City Life\gamemodes\SFCL.pwn(14002) : error 029: invalid expression, assumed zero
C:\Users\TwisTa\Desktop\San Fierro City Life\gamemodes\SFCL.pwn(14002) : error 004: function "OnPlayerCommandText" is not implemented
C:\Users\TwisTa\Desktop\San Fierro City Life\gamemodes\SFCL.pwn(14004) : error 017: undefined symbol "cmdtext"
C:\Users\TwisTa\Desktop\San Fierro City Life\gamemodes\SFCL.pwn(14004) : warning 215: expression has no effect
C:\Users\TwisTa\Desktop\San Fierro City Life\gamemodes\SFCL.pwn(14004) : error 001: expected token: ";", but found "]"
C:\Users\TwisTa\Desktop\San Fierro City Life\gamemodes\SFCL.pwn(14004) : error 029: invalid expression, assumed zero
C:\Users\TwisTa\Desktop\San Fierro City Life\gamemodes\SFCL.pwn(14004) : fatal error 107: too many error messages on one line
Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
6 Errors.
But I Have
Код HTML:
public OnPlayerCommandText(playerid, cmdtext[])
In My Gamemode!
Help Me Please!
Re: Need Help! -
Faisal_khan - 29.12.2012
Missing a brace.
Re: Need Help! -
Konstantinos - 29.12.2012
Quote:
Originally Posted by Faisal_khan
Missing a brace.
|
This.
Above the OnPlayerCommandText, make sure the callback returns a value and closing the brace "}".