Код:
C:\Users\toni\Desktop\Gang War Los Santos 0.3e\gamemodes\mod.pwn(2684) : warning 204: symbol is assigned a value that is never used: "vID"
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
1 Warning.
Код:
CMD:cv(playerid, params[])
{
if(PlayerInfo[playerid][pAdmin] >= 1)
{
new
mID,
vID,
cl1,
cl2,
Float:x, Float:y, Float:z, Float:ang;
if(sscanf(params, "iii", mID, cl1, cl2)) return SendClientMessage(playerid, 0xAADD00AA, "{FFFFFF}Koristi:{AADD00} /c(reate)v(ehicle) <ID modela vozila> <boja 1> <boja 2>");
else
{
GetPlayerPos(playerid, x, y, z);
GetPlayerFacingAngle(playerid, ang);
vID = CreateVehicle(mID, x + 2.0, y, z, ang, cl1, cl2, 86400);
}
}
else SendClientMessage(playerid, 0xFF0000AA, "Ne mozes koristiti tu komandu.");
return 1;
}