commands with id...
#3

i followed you tut and this is my errors and code:
PHP код:
public OnPlayerCommandText(playeridcmdtext[])
{
COMMAND:freeze(playeridparams[])
{
new 
otherplayerid;
if(
sscanf(params"d"otherplayerid)) return SendClientMessage(playeridCOLOUR_LIGHTBLUE"Use /freeze [playerid/name]");
else if(!
IsPlayerConnected(otherplayerid)) return SendClientMessage(playeridCOLOUR_GREEN"This player is not connected");
else
{
SendClientMessage(otherplayerid,COLOUR_GREEN,"The Admin %d killed you!");
TogglePlayerControllable(otherplayerid0);
}
 return 
1;}
return 
0;

errors:

PHP код:
D:\gta san andreas online\Godfucker\filterscripts\AdminCmds.pwn(20) : error 017undefined symbol "freeze"
D:\gta san andreas online\Godfucker\filterscripts\AdminCmds.pwn(23) : error 017undefined symbol "sscanf"
D:\gta san andreas online\Godfucker\filterscripts\AdminCmds.pwn(30) : warning 217loose indentation
D
:\gta san andreas online\Godfucker\filterscripts\AdminCmds.pwn(31) : warning 225unreachable code
D
:\gta san andreas online\Godfucker\filterscripts\AdminCmds.pwn(20) : warning 203symbol is never used"COMMAND"
Pawn compiler 3.2.3664              Copyright (c1997-2006ITB CompuPhase
2 Errors

Reply


Messages In This Thread
commands with id... - by omer5198 - 13.01.2011, 12:06
Re: commands with id... - by Haydz - 13.01.2011, 12:08
Re: commands with id... - by omer5198 - 13.01.2011, 12:22
Re: commands with id... - by [SU]Balli - 13.01.2011, 12:43
Re: commands with id... - by omer5198 - 13.01.2011, 12:54
Re: commands with id... - by Toreno - 13.01.2011, 13:11
Re: commands with id... - by [SU]Balli - 13.01.2011, 13:52
Re: commands with id... - by omer5198 - 13.01.2011, 15:38
Re: commands with id... - by alpha500delta - 13.01.2011, 15:50
Re: commands with id... - by [SU]Balli - 13.01.2011, 16:13

Forum Jump:


Users browsing this thread: 2 Guest(s)