14.03.2010, 19:24
I added "new nitro;" in OnPlayerStateChange but know i have one more warning....
Код:
public OnPlayerStateChange(playerid, newstate, oldstate) { new string[256]; new nitro; new pveh = GetVehicleModel(GetPlayerVehicleID(playerid)); new vehicle = GetPlayerVehicleID(playerid); if(newstate == PLAYER_STATE_DRIVER && (pveh != 509 && pveh != 481 && pveh != 510) && IsPlayerInAnyVehicle(playerid) && !IsAPlane(vehicle) && !IsAHarvest(vehicle) && !IsADrugHarvest(vehicle) && !IsASweeper(vehicle)) {
Код:
C:\Users\Rafael\Downloads\GTARP\GTARP\gamemodes\gtarp.pwn(6196) : warning 203: symbol is never used: "nitro" C:\Users\Rafael\Downloads\GTARP\GTARP\gamemodes\gtarp.pwn(15668) : warning 202: number of arguments does not match definition C:\Users\Rafael\Downloads\GTARP\GTARP\gamemodes\gtarp.pwn(15843) : warning 202: number of arguments does not match definition C:\Users\Rafael\Downloads\GTARP\GTARP\gamemodes\gtarp.pwn(17086) : warning 202: number of arguments does not match definition C:\Users\Rafael\Downloads\GTARP\GTARP\gamemodes\gtarp.pwn(22352) : warning 202: number of arguments does not match definition Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase Header size: 9644 bytes Code size: 1645792 bytes Data size: 10368928 bytes Stack/heap size: 16384 bytes; estimated max. usage=4466 cells (17864 bytes) Total requirements:12040748 bytes 5 Warnings.