24.02.2012, 07:00
Hello, I am know a little bit scripting, and I was making a /commands command, but I keep getting this:
C:\Program Files (x86)\Rockstar Games\GTA San Andreas\pawno\Biohazard Death Match.pwn(202) : warning 217: loose indentation
C:\Program Files (x86)\Rockstar Games\GTA San Andreas\pawno\Biohazard Death Match.pwn(206) : error 010: invalid function or declaration
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
1 Error.
This is my script:
Can you guys help me? I have no idea what the fault is, I've checked everything.
C:\Program Files (x86)\Rockstar Games\GTA San Andreas\pawno\Biohazard Death Match.pwn(202) : warning 217: loose indentation
C:\Program Files (x86)\Rockstar Games\GTA San Andreas\pawno\Biohazard Death Match.pwn(206) : error 010: invalid function or declaration
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
1 Error.
This is my script:
pawn Код:
}
if (strcmp("/Commands", cmdtext, true, 10) == 0)
SendClientMessage(playerid,0x33AA33AA,"/Teles");
SendClientMessage(playerid,0x33AA33AA,"/Admins");
SendClientMessage(playerid,0x33AA33AA,"/Credits");
SendClientMessage(playerid,0x33AA33AA,"/Rules");
}
return 1;
}