CMD:fahrrad(playerid)
{
if(IsPlayerInRangeOfPoint(playerid,30.0,1773.0819,-1896.1542,13.5516))
{
if(Mietfahrrad[playerid] != 0)return SendClientMessage(playerid, 0xAA3333AA,"Du hast dir bereits ein Fahrrad gemietet!"); //782
if(GetPlayerScore(playerid) > 4)return SendClientMessage(playerid, 0xAA3333AA,"Du kannst dir kein Fahrrad mieten, da du über Level 4 bist!");
Mietfahrrad[playerid] = CreateVehicle(481, 1778.7252, -1896.2073, 12.8533, 267.3409,-1,-1,100);
GivePlayerMoney(playerid, -300);
}
return true;
}
C:\Users\Natascha\Desktop\Selfmade xGhost\gamemodes\Selfmade.pwn(782) : error 017: undefined symbol "Mietfahrrad"
C:\Users\Natascha\Desktop\Selfmade xGhost\gamemodes\Selfmade.pwn(782) : warning 215: expression has no effect
C:\Users\Natascha\Desktop\Selfmade xGhost\gamemodes\Selfmade.pwn(782) : error 001: expected token: ";", but found "]"
C:\Users\Natascha\Desktop\Selfmade xGhost\gamemodes\Selfmade.pwn(782) : error 029: invalid expression, assumed zero
C:\Users\Natascha\Desktop\Selfmade xGhost\gamemodes\Selfmade.pwn(782) : fatal error 107: too many error messages on one line