11.07.2011, 10:41
Sir can you fix this whats problem in code
Errors:
Line 548:
Line 797:
Line 1117:
Line 1941:
Errors:
pawn Код:
D:\Games\Mygm\filterscripts\vsystem.pwn(548) : error 017: undefined symbol "GetPlayerNameEx"
D:\Games\Mygm\filterscripts\vsystem.pwn(560) : error 017: undefined symbol "GetPlayerNameEx"
D:\Games\Mygm\filterscripts\vsystem.pwn(566) : error 017: undefined symbol "GetPlayerNameEx"
D:\Games\Mygm\filterscripts\vsystem.pwn(609) : error 017: undefined symbol "GetPlayerNameEx"
D:\Games\Mygm\filterscripts\vsystem.pwn(799) : error 017: undefined symbol "GetPlayerNameEx"
D:\Games\Mygm\filterscripts\vsystem.pwn(797) : warning 204: symbol is assigned a value that is never used: "name"
D:\Games\Mygm\filterscripts\vsystem.pwn(837) : error 017: undefined symbol "GetPlayerNameEx"
D:\Games\Mygm\filterscripts\vsystem.pwn(871) : error 017: undefined symbol "GetPlayerNameEx"
D:\Games\Mygm\filterscripts\vsystem.pwn(950) : error 017: undefined symbol "GetPlayerNameEx"
D:\Games\Mygm\filterscripts\vsystem.pwn(1021) : error 017: undefined symbol "GetPlayerNameEx"
D:\Games\Mygm\filterscripts\vsystem.pwn(1085) : error 017: undefined symbol "GetPlayerNameEx"
D:\Games\Mygm\filterscripts\vsystem.pwn(1117) : error 017: undefined symbol "name"
D:\Games\Mygm\filterscripts\vsystem.pwn(1125) : error 017: undefined symbol "GetPlayerNameEx"
D:\Games\Mygm\filterscripts\vsystem.pwn(1127) : error 017: undefined symbol "name"
D:\Games\Mygm\filterscripts\vsystem.pwn(1128) : error 017: undefined symbol "GetPlayerNameEx"
D:\Games\Mygm\filterscripts\vsystem.pwn(1471) : error 017: undefined symbol "GetPlayerNameEx"
D:\Games\Mygm\filterscripts\vsystem.pwn(1678) : error 017: undefined symbol "GetPlayerNameEx"
D:\Games\Mygm\filterscripts\vsystem.pwn(1690) : error 017: undefined symbol "GetPlayerNameEx"
D:\Games\Mygm\filterscripts\vsystem.pwn(1707) : error 017: undefined symbol "GetPlayerNameEx"
D:\Games\Mygm\filterscripts\vsystem.pwn(1724) : error 017: undefined symbol "GetPlayerNameEx"
D:\Games\Mygm\filterscripts\vsystem.pwn(1741) : error 017: undefined symbol "GetPlayerNameEx"
D:\Games\Mygm\filterscripts\vsystem.pwn(1758) : error 017: undefined symbol "GetPlayerNameEx"
D:\Games\Mygm\filterscripts\vsystem.pwn(1941) : error 017: undefined symbol "PlayerName"
D:\Games\Mygm\filterscripts\vsystem.pwn(1943) : error 017: undefined symbol "GetPlayerNameEx"
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
23 Errors.
pawn Код:
format(path, 35, "Cars/%s.cfg", GetPlayerNameEx(playerid));
pawn Код:
new name[24];
new id = GetPlayerVehicleID(playerid);
if(!strcmp(GetPlayerNameEx(playerid), CarInfo[id][oOwner]))
{
if(CarInfo[id][oLock] == 0)
{
SendClientMessage(playerid, 0xFF804096, "You have locked your car's doors.");
CarInfo[id][oLock] = 1;
SaveOwnableCar(id); // It doesn't save, if i don't do it 2 times.. wtf?
SaveOwnableCar(id);
return true;
}
pawn Код:
if(!strcmp(name, CarInfo[vid][oOwner]))
pawn Код:
if(strcmp(PlayerName,CarInfo[VehID][oOwner]))
{
format(string, sizeof(string), "This car is owned by %s", GetPlayerNameEx(playerid));
SendClientMessage(playerid,0xFFFFFFFF,string);
}
}
return 1;