C:\Users\Rafael\Downloads\GTARP\GTARP\gamemodes\gtarp.pwn(15667) : warning 202: number of arguments does not match definition C:\Users\Rafael\Downloads\GTARP\GTARP\gamemodes\gtarp.pwn(15842) : warning 202: number of arguments does not match definition C:\Users\Rafael\Downloads\GTARP\GTARP\gamemodes\gtarp.pwn(17085) : warning 202: number of arguments does not match definition C:\Users\Rafael\Downloads\GTARP\GTARP\gamemodes\gtarp.pwn(22351) : 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: 1645780 bytes Data size: 10368928 bytes Stack/heap size: 16384 bytes; estimated max. usage=4466 cells (17864 bytes) Total requirements:12040736 bytes 4 Warnings.
CreateVehicle(CarInfo[ownvehkey][cModel],CarInfo[ownvehkey][cLocationx],CarInfo[ownvehkey][cLocationy],CarInfo[ownvehkey][cLocationz]+1.0,CarInfo[ownvehkey][cAngle],CarInfo[ownvehkey][cColorOne],CarInfo[ownvehkey][cColorTwo],CarInfo[ownvehkey][cNitro],60000);
Originally Posted by Rafael_Olivieri
Код:
C:\Users\Rafael\Downloads\GTARP\GTARP\gamemodes\gtarp.pwn(15667) : warning 202: number of arguments does not match definition C:\Users\Rafael\Downloads\GTARP\GTARP\gamemodes\gtarp.pwn(15842) : warning 202: number of arguments does not match definition C:\Users\Rafael\Downloads\GTARP\GTARP\gamemodes\gtarp.pwn(17085) : warning 202: number of arguments does not match definition C:\Users\Rafael\Downloads\GTARP\GTARP\gamemodes\gtarp.pwn(22351) : 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: 1645780 bytes Data size: 10368928 bytes Stack/heap size: 16384 bytes; estimated max. usage=4466 cells (17864 bytes) Total requirements:12040736 bytes 4 Warnings. Код:
CreateVehicle(CarInfo[ownvehkey][cModel],CarInfo[ownvehkey][cLocationx],CarInfo[ownvehkey][cLocationy],CarInfo[ownvehkey][cLocationz]+1.0,CarInfo[ownvehkey][cAngle],CarInfo[ownvehkey][cColorOne],CarInfo[ownvehkey][cColorTwo],CarInfo[ownvehkey][cNitro],60000); (sry for bad english) |
Originally Posted by Rafael_Olivieri
I am editing an Roleplay server that you can buy cars and stuff and i added [cNitro] to save nitro that people buy..... when i type /v nitro....it installs a nitro kit in my car....but it is not saving because of the warnings.....i edited all the rest but it is not saving the nitro in the car because of the warnings....when i do /respawnallcars the nitro disappears....
|
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.