31.08.2012, 22:26
Ok so i made a couple of updates to my GM and now i get all of this stuff,that i have no idea how to fix
I tried SAMP Wiki but didn't find nothing about these errors:
So here they are:
And the lines:
Line 1323:
Line 2202 -- 2210:
Line 2210 -- 2211:
Line 2214:
Line 5621:
Line 11231:
Line 11237:
Line 11407:
I really hope that there is someone who can help me,i've been trying to fix my GM for 3 days now :X
I tried SAMP Wiki but didn't find nothing about these errors:
So here they are:
pawn Код:
C:\Users\Ragnar\Desktop\nrrp\nrrp\gamemodes\nrrp.pwn(1323) : warning 202: number of arguments does not match definition
C:\Users\Ragnar\Desktop\nrrp\nrrp\gamemodes\nrrp.pwn(2202 -- 2210) : error 029: invalid expression, assumed zero
C:\Users\Ragnar\Desktop\nrrp\nrrp\gamemodes\nrrp.pwn(2210 -- 2211) : error 029: invalid expression, assumed zero
C:\Users\Ragnar\Desktop\nrrp\nrrp\gamemodes\nrrp.pwn(2214) : error 029: invalid expression, assumed zero
C:\Users\Ragnar\Desktop\nrrp\nrrp\gamemodes\nrrp.pwn(5621) : warning 202: number of arguments does not match definition
C:\Users\Ragnar\Desktop\nrrp\nrrp\gamemodes\nrrp.pwn(5621) : warning 202: number of arguments does not match definition
C:\Users\Ragnar\Desktop\nrrp\nrrp\gamemodes\nrrp.pwn(5621) : warning 202: number of arguments does not match definition
C:\Users\Ragnar\Desktop\nrrp\nrrp\gamemodes\nrrp.pwn(5621) : warning 202: number of arguments does not match definition
C:\Users\Ragnar\Desktop\nrrp\nrrp\gamemodes\nrrp.pwn(5621) : warning 202: number of arguments does not match definition
C:\Users\Ragnar\Desktop\nrrp\nrrp\gamemodes\nrrp.pwn(5621) : warning 202: number of arguments does not match definition
C:\Users\Ragnar\Desktop\nrrp\nrrp\gamemodes\nrrp.pwn(11231) : warning 202: number of arguments does not match definition
C:\Users\Ragnar\Desktop\nrrp\nrrp\gamemodes\nrrp.pwn(11237) : warning 202: number of arguments does not match definition
C:\Users\Ragnar\Desktop\nrrp\nrrp\gamemodes\nrrp.pwn(11407) : warning 202: number of arguments does not match definition
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
3 Errors.
Line 1323:
pawn Код:
if(IsPlayerInRangeOfPoint(playerid, 20, 1957.8063,-1986.2390,-55.3943,91.2021))
{
PlayerInfo[playerid][pVehVW] = GetPlayerVirtualWorld(playerid);
SetVehicleVirtualWorld(PlayerInfo[playerid][pVeh], PlayerInfo[playerid][pVehVW]);
}
pawn Код:
format(string, sizeof(string), "%d|%f|%f|%f|%f|%f|%f\r\n",
ObjectInfo[idx][oModel],
ObjectInfo[idx][oX],
ObjectInfo[idx][oY],
ObjectInfo[idx][oZ],
ObjectInfo[idx][oRX],
ObjectInfo[idx][oRY],
ObjectInfo[idx][oRZ],
if(idx == 1)
pawn Код:
if(idx == 1)
{
file = fopen("cobjects.cfg", io_write);
}
pawn Код:
else
{
file = fopen("cobjects.cfg", io_append);
}
pawn Код:
DestroyObject(C4[playerid], bx[playerid], by[playerid], bz[playerid]-1, -87.6624853592, 0.000000, 0.000000);
pawn Код:
SetVehiclePos(vehicleid, 1957.8063,-1986.2390,-55.3943,91.2021);
pawn Код:
SetPlayerPos(playerid, 1957.8063,-1986.2390,-55.3943,91.2021);
pawn Код:
if(IsPlayerInRangeOfPoint(playerid, 20, 1957.8063,-1986.2390,-55.3943,91.2021)) // Garages
{
new idx;
idx = GetPlayerVirtualWorld(playerid)-500;
if(!done && idx < MAX_GARAGES && GarageInfo[idx][gLevel])