Hey. Habe gerade neue Copskins hinzugefügt und auch die Variablen Zahl angepasst. Also
Die richtige Zahl angegeben.
Nun compile ich es und bekomme 26 Errors.
Die ersten Fehler habe ich mit #defines behoben. Doch die Funktionen PlayertoPoint krieg ich nicht gefixxt.
Code
D:\script\NLR\gamemodes\editbyalex.pwn(3925) : error 017: undefined symbol "SetProTimer"
D:\script\NLR\gamemodes\editbyalex.pwn(3940) : error 017: undefined symbol "GivePlayerWeapons"
D:\script\NLR\gamemodes\editbyalex.pwn(3941) : error 017: undefined symbol "GivePlayerWeapons"
D:\script\NLR\gamemodes\editbyalex.pwn(3948) : error 017: undefined symbol "SetProTimer"
D:\script\NLR\gamemodes\editbyalex.pwn(3968) : error 017: undefined symbol "GivePlayerWeapons"
D:\script\NLR\gamemodes\editbyalex.pwn(3975) : error 017: undefined symbol "GivePlayerWeapons"
D:\script\NLR\gamemodes\editbyalex.pwn(3976) : error 017: undefined symbol "GivePlayerWeapons"
D:\script\NLR\gamemodes\editbyalex.pwn(3977) : error 017: undefined symbol "GivePlayerWeapons"
D:\script\NLR\gamemodes\editbyalex.pwn(4004) : error 017: undefined symbol "SetProTimer"
D:\script\NLR\gamemodes\editbyalex.pwn(4030) : error 017: undefined symbol "SetProTimer"
D:\script\NLR\gamemodes\editbyalex.pwn(4238) : error 004: function "PlayerToPoint" is not implemented
D:\script\NLR\gamemodes\editbyalex.pwn(4242) : error 004: function "PlayerToPoint" is not implemented
D:\script\NLR\gamemodes\editbyalex.pwn(4254) : error 004: function "PlayerToPoint" is not implemented
D:\script\NLR\gamemodes\editbyalex.pwn(4258) : error 004: function "PlayerToPoint" is not implemented
D:\script\NLR\gamemodes\editbyalex.pwn(4270) : error 004: function "PlayerToPoint" is not implemented
D:\script\NLR\gamemodes\editbyalex.pwn(4274) : error 004: function "PlayerToPoint" is not implemented
D:\script\NLR\gamemodes\editbyalex.pwn(4286) : error 004: function "PlayerToPoint" is not implemented
D:\script\NLR\gamemodes\editbyalex.pwn(4290) : error 004: function "PlayerToPoint" is not implemented
D:\script\NLR\gamemodes\editbyalex.pwn(4294) : error 004: function "PlayerToPoint" is not implemented
D:\script\NLR\gamemodes\editbyalex.pwn(4298) : error 004: function "PlayerToPoint" is not implemented
Alles anzeigen
Code
public IsAOrdnungsbeamter(playerid)
{
if(IsPlayerConnected(playerid))
{
new leader = PlayerInfo[playerid][pLeader];
new member = PlayerInfo[playerid][pMember];
if(member==13)
{
return 1;
}
if(leader==13)
{
return 1;
}
}
return 0;
}
public IsABuergermeister(playerid)
{
if(IsPlayerConnected(playerid))
{
new leader = PlayerInfo[playerid][pLeader];
new member = PlayerInfo[playerid][pMember];
if(member==12)
{
return 1;
}
else if(leader==12)
{
return 1;
}
}
return 0;
}
public IsAtClothShop(playerid)
{
if(IsPlayerConnected(playerid))
{
if(PlayerToPoint(25.0,playerid,207.5627,-103.7291,1005.2578) || PlayerToPoint(25.0,playerid,203.9068,-41.0728,1001.8047))
{//Binco & Suburban
return 1;
}
else if(PlayerToPoint(30.0,playerid,214.4470,-7.6471,1001.2109) || PlayerToPoint(50.0,playerid,161.3765,-83.8416,1001.8047))
{//Zip & Victim
return 1;
}
}
return 0;
}
Alles anzeigen
Dort kommen die Errors her.