Errors
#1

Help Me With This

Erros
Код:
C:\Documents and Settings\XPPRESP3\Desktop\samp03csvr_R5_win32\samp03csvr_R5_win32\gamemodes\Sampever.pwn(6151) : warning 219: local variable "Pos" shadows a variable at a preceding level
C:\Documents and Settings\XPPRESP3\Desktop\samp03csvr_R5_win32\samp03csvr_R5_win32\gamemodes\Sampever.pwn(6153) : error 028: invalid subscript (not an array or too many subscripts): "Pos"
C:\Documents and Settings\XPPRESP3\Desktop\samp03csvr_R5_win32\samp03csvr_R5_win32\gamemodes\Sampever.pwn(6153) : warning 215: expression has no effect
C:\Documents and Settings\XPPRESP3\Desktop\samp03csvr_R5_win32\samp03csvr_R5_win32\gamemodes\Sampever.pwn(6153) : error 001: expected token: ";", but found "]"
C:\Documents and Settings\XPPRESP3\Desktop\samp03csvr_R5_win32\samp03csvr_R5_win32\gamemodes\Sampever.pwn(6153) : error 029: invalid expression, assumed zero
C:\Documents and Settings\XPPRESP3\Desktop\samp03csvr_R5_win32\samp03csvr_R5_win32\gamemodes\Sampever.pwn(6153) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


4 Errors.
Code
Код:
   if(pickupid == CarPickup)
    {
       new Float:Pos[4];
       DestroyVehicle(g_pVeh[playerid]);
       GetPlayerPos(playerid, Pos[0], Pos[1], Pos[2]);
       GetPlayerFacingAngle(playerid, Pos[3]);
       g_pVeh[playerid] = CreateVehicle(560, Pos[0], Pos[1], Pos[2], Pos[3], 0, 0, 5000000);
       PutPlayerInVehicle(playerid, g_pVeh[playerid], 0);
       SendClientMessage(playerid, -1, "Vehicle created.");
       Create3DTextLabel("{1BD6E0}Car Spawn",0x03B8FCFF,2035.0969, 1465.6558, 10.8203, 50,0);
}
Reply


Messages In This Thread
Errors - by -BadGirl- - 06.12.2011, 11:23
Re: Errors - by T0pAz - 06.12.2011, 11:29
Re: Errors - by -BadGirl- - 06.12.2011, 11:32
Re: Errors - by vassilis - 06.12.2011, 11:38

Forum Jump:


Users browsing this thread: 1 Guest(s)