22.05.2013, 11:03
Yeah Sorry I kinda knew i shouldnt put return in the end But i wasnt exactly seeing that because i was copypasting lol So Now i fixed like 100 errors and I got only 2 now.
Line 202 its on return 0 but this was on default it came when I did new file.
Код:
C:\Documents and Settings\Administrador\Ambiente de trabalho\samp03x_svr_R1-2_win32\gamemodes\two.pwn(152) : warning 202: number of arguments does not match definition C:\Documents and Settings\Administrador\Ambiente de trabalho\samp03x_svr_R1-2_win32\gamemodes\two.pwn(172) : warning 202: number of arguments does not match definition Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
Код:
public OnPlayerCommandText(playerid, cmdtext[]) { if (strcmp("/mycommand", cmdtext, true, 10) == 0) { // Do something here return 1; } return 0; }