Problem in Gamemode - 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: Problem in Gamemode (
/showthread.php?tid=365821)
Problem in Gamemode -
Morkano - 04.08.2012
Код:
D:\Server\gamemodes\gs.pwn(1356) : error 012: invalid function call, not a valid address
D:\Server\gamemodes\gs.pwn(1356) : warning 215: expression has no effect
D:\Server\gamemodes\gs.pwn(1356) : warning 215: expression has no effect
D:\Server\gamemodes\gs.pwn(1356) : error 001: expected token: ";", but found ")"
D:\Server\gamemodes\gs.pwn(1356) : error 029: invalid expression, assumed zero
D:\Server\gamemodes\gs.pwn(1356) : fatal error 107: too many error messages on one line
Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
4 Errors.
I want to help
Re: Problem in Gamemode -
Devilxz97 - 04.08.2012
show lines 1356
Re: Problem in Gamemode -
doreto - 04.08.2012
i assume you forgot
; at the end of command
Re: Problem in Gamemode -
Morkano - 04.08.2012
Код:
tmp = strtok( cmdtext, idx );
This is line 1356
Re: Problem in Gamemode -
Misiur - 04.08.2012
Tmp is probably too small. Make it bigger
Re: Problem in Gamemode -
Morkano - 04.08.2012
How give me code
Re: Problem in Gamemode -
Misiur - 04.08.2012
Show me the line where you initialize tmp variable (line with new tmp[X]/static tmp[X])
Re: Problem in Gamemode -
Morkano - 04.08.2012
Код:
tmp = strtok( cmdtext, idx );
Re: Problem in Gamemode -
Misiur - 04.08.2012
... Read my post once again, slowly. Now give correct line
Re: Problem in Gamemode -
SEnergy - 04.08.2012
show us lines from 1350 to 1356, you've probably forgot to add ";" at one of those lines when you were declaring variables