C:\Documents and Settings\Desktop\Cops N Robbers\pawno\BAdmin.pwn(66) : error 010: invalid function or declaration C:\Documents and Settings\Desktop\Cops N Robbers\pawno\BAdmin.pwn(73) : error 025: function heading differs from prototype C:\Documents and Settings\\Desktop\Cops N Robbers\pawno\BAdmin.pwn(75) : error 017: undefined symbol "PlayerData" C:\Documents and Settings\Desktop\Cops N Robbers\pawno\BAdmin.pwn(75) : warning 215: expression has no effect C:\Documents and Settings\Desktop\Cops N Robbers\pawno\BAdmin.pwn(75) : error 001: expected token: ";", but found "]" C:\Documents and Settings\Desktop\Cops N Robbers\pawno\BAdmin.pwn(75) : error 029: invalid expression, assumed zero C:\Documents and Settings\Desktop\Cops N Robbers\pawno\BAdmin.pwn(75) : fatal error 107: too many error messages on one line
main()
{
print(" (v1.0) BasicAdmin loaded");
}
#endif
public OnPlayerText(playerid, text)
(
if(PlayerData[playerid][Muted] == 1)
{
SendClientMessage(playerid, COLOR_RED, "You are muted and cannot talk.");
return 0;
}
return true;
}
public OnPlayerText(playerid, text)
"(" << see that? change it to {
if(PlayerData[playerid][Muted] == 1)
{
SendClientMessage(playerid, COLOR_RED, "You are muted and cannot talk.");
return 0;
}
return true;
}
public OnPlayerText(playerid, text[])
{
if(PlayerData[playerid][Muted] == 1)
{
SendClientMessage(playerid, COLOR_RED, "You are muted and cannot talk.");
return 0;
}
return true;
}
main()
{
print(" (v1.0) BasicAdmin loaded");
}
#endif
public OnPlayerText(playerid, text[])
{
if(PlayerData[playerid][Muted] == 1)
{
SendClientMessage(playerid, COLOR_RED, "You are muted and cannot talk.");
return 0;
}
return true;
}
|
Originally Posted by DarK TeaM PT
this....
pawn Код:
|
|
Originally Posted by DarK TeaM PT
yeah and i already posted with this...
Quote:
|