03.09.2010, 17:22
And now ? How to fix
Ing gm theese lines is
Quote:
C:\Documents and Settings\Vartotojas\Desktop\RP\gamemodes\lvrp2.pwn (4730) : warning 203: symbol is never used: "playerid" C:\Documents and Settings\Vartotojas\Desktop\RP\gamemodes\lvrp2.pwn (4747) : warning 203: symbol is never used: "playerid" Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 2 Warnings. |
Quote:
dcmd_lock(playerid, params[]) { #pragma unused params /* new veh = GetPlayerVehicleID(playerid); if(car1[playerid] == veh || car2[playerid] == veh || car3[playerid] == veh) { SendClientMessage(playerid, GREY, "[VEHICLE] Your vehicle is locked."); for(new i=0; i < MAX_PLAYERS; i++) { if(i == playerid) continue; SetVehicleParamsForPlayer(veh,i,0,1); } PlayerPlaySound(playerid, 1145, 0.0, 0.0, 0.0); } else SendClientMessage(playerid, LIGHTRED, "You are not owning this vehicle.");*/ return 1; } dcmd_unlock(playerid, params[]) { #pragma unused params /* new veh = GetPlayerVehicleID(playerid); if(car1[playerid] == veh || car2[playerid] == veh || car3[playerid] == veh) { SendClientMessage(playerid, GREY, "[VEHICLE] Your vehicle is unlocked."); for(new i=0; i < MAX_PLAYERS; i++) { if(i == playerid) continue; SetVehicleParamsForPlayer(veh,i,0,0); } PlayerPlaySound(playerid, 1145, 0.0, 0.0, 0.0); } else SendClientMessage(playerid, LIGHTRED, "You are not owning this vehicle.");*/ return 1; } |