24.07.2013, 05:31
C:\Users\gtfytgfy\Desktop\LSS-RP\gamemodes\LSS-RP.pwn(26950) : warning 204: symbol is assigned a value that is never used: "string"
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
1 Warning.
it this is my cmd that written there:
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
1 Warning.
it this is my cmd that written there:
pawn Код:
CMD:buycar(playerid, params[])
{
new string[128];
if(gPlayerSpawned[playerid] == 0)
{
SendClientMessage(playerid, COLOR_GRAD1, " You are not logged in or have not spawned !");
return 1;
}
if(!IsPlayerInRangeOfPoint(playerid, 2, 545.6661,-1292.2437,17.2422)) return SendClientMessage(playerid, COLOR_GREY, "You are not near the vehicles dealership.");
if(PlayerInfo[playerid][pLevel] < 2)
{
SendClientMessage(playerid, COLOR_RED, "** You have to be level 2 or higher to buy a vehicle");
RemovePlayerFromVehicle(playerid);
return 1;
}
if(PlayerInfo[playerid][pDonateRank] <= 1 && PlayerInfo[playerid][pCarKey1] != 0 && PlayerInfo[playerid][pCarKey2] != 0)
{
SendClientMessage(playerid, COLOR_RED, "** You already have 2 vehicles");
RemovePlayerFromVehicle(playerid);
return 1;
}
else DisplayDialogForPlayer(playerid, 9000);
return 1;
}