28.05.2014, 17:24
Hello everybody can to help mee?
This is ok
When i add this
He show mee this error.
1755 line
The line of errorr
[php] if(gTeam[playerid] == TEAM_CIVILIAN)
2339 line
2386 line
This is ok
PHP код:
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
PHP код:
#include <YSI\y_master>
PHP код:
#include <YSI\y_ini>
PHP код:
C:\Users\Arlind\Desktop\COPSAN~1\pawno\include\YSI\y_hooks/impl.inc(1755) : error 025: function heading differs from prototype
C:\Users\Arlind\Desktop\COPSAN~1\pawno\include\YSI\y_hooks/impl.inc(2339) : error 025: function heading differs from prototype
C:\Users\Arlind\Desktop\COPSAN~1\pawno\include\YSI\y_hooks/impl.inc(2386) : error 025: function heading differs from prototype
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
3 Errors.
PHP код:
if(gTeam[playerid] == TEAM_CIVILIAN)
{
GameTextForPlayer(playerid, "~r~/robburger",3000,3);
SendClientMessage(playerid, 0x00FFFFFF, "Type /robburger to start a robbery.");
}
}
[php] if(gTeam[playerid] == TEAM_CIVILIAN)
2339 line
PHP код:
if(gTeam[playerid] == TEAM_CIVILIAN)
{
new id;
tmp = strtok(cmdtext, idx);
if(strlen(tmp))
{
PHP код:
new id;
PHP код:
if(gTeam[id] == TEAM_COPS)
{
if(Jailed[id] == false && Jailed[playerid] == true)
{
SendClientMessage(playerid, 0xFF0000AA, "You can't rob a person from outside the jail.");
}
else
{
PHP код:
SendClientMessage(playerid, 0xFF0000AA, "You can't rob a person from outside the jail.");