C:\Documents and Settings\Kapil\Desktop\samp03\samp03\gamemodes\lvd m.pwn(763) : warning 204: symbol is assigned a value that is never used: "string" C:\Documents and Settings\Kapil\Desktop\samp03\samp03\gamemodes\lvd m.pwn(763) : warning 204: symbol is assigned a value that is never used: "pName" C:\Documents and Settings\Kapil\Desktop\samp03\samp03\gamemodes\lvd m.pwn(964) : warning 225: unreachable code C:\Documents and Settings\Kapil\Desktop\samp03\samp03\gamemodes\lvd m.pwn(2314) : error 017: undefined symbol "PlayerToPoint" C:\Documents and Settings\Kapil\Desktop\samp03\samp03\gamemodes\lvd m.pwn(2343) : error 017: undefined symbol "pName" C:\Documents and Settings\Kapil\Desktop\samp03\samp03\gamemodes\lvd m.pwn(2343) : error 017: undefined symbol "pName" C:\Documents and Settings\Kapil\Desktop\samp03\samp03\gamemodes\lvd m.pwn(2343) : error 029: invalid expression, assumed zero C:\Documents and Settings\Kapil\Desktop\samp03\samp03\gamemodes\lvd m.pwn(2343) : fatal error 107: too many error messages on one line Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 5 Errors. |
if(!strcmp(cmdtext, "/lvair", true)) { if(IsPlayerInAnyVehicle(playerid)) { SetVehiclePos(GetPlayerVehicleID(playerid), 1282.6499,1267.8385,10.8203); SetVehicleZAngle(GetPlayerVehicleID(playerid), 0.0); LinkVehicleToInterior(GetPlayerVehicleID(playerid) , 0); } else { SetPlayerPos(playerid, 1282.6499,1267.8385,10.8203); SetPlayerFacingAngle(playerid, 0.0); } SetPlayerInterior(playerid, 0); SendClientMessage(playerid, COLOR_LIGHTBLUE, " Welcome to Las Venturas Stunt Airport!"); GetPlayerName(playerid, pName, sizeof(pName)); format(string, sizeof(string), "TELE: %s has gone to LV Airport (/lvair)", pName); SendClientMessageToAll(COLOR_YELLOW, string); return 1; } |
if(!strcmp(cmdtext, "/lvair", true))
{
if(IsPlayerInAnyVehicle(playerid))
{
SetVehiclePos(GetPlayerVehicleID(playerid), 1282.6499,1267.8385,10.8203);
SetVehicleZAngle(GetPlayerVehicleID(playerid), 0.0);
LinkVehicleToInterior(GetPlayerVehicleID(playerid) , 0);
}
else
{
new pName[24],string[128];
SetPlayerPos(playerid, 1282.6499,1267.8385,10.8203);
SetPlayerFacingAngle(playerid, 0.0);
SetPlayerInterior(playerid, 0);
SendClientMessage(playerid, -1, " Welcome to Las Venturas Stunt Airport!");
GetPlayerName(playerid, pName, 24);
format(string, sizeof(string), "TELE: %s has gone to LV Airport (/lvair)", pName);
SendClientMessageToAll(-1, string);
}
return 1;
}
C:\Documents and Settings\Kapil\Desktop\samp03\samp03\gamemodes\lvd m.pwn(763) : warning 204: symbol is assigned a value that is never used: "string" C:\Documents and Settings\Kapil\Desktop\samp03\samp03\gamemodes\lvd m.pwn(763) : warning 204: symbol is assigned a value that is never used: "pName" C:\Documents and Settings\Kapil\Desktop\samp03\samp03\gamemodes\lvd m.pwn(964) : warning 225: unreachable code C:\Documents and Settings\Kapil\Desktop\samp03\samp03\gamemodes\lvd m.pwn(2314) : error 017: undefined symbol "PlayerToPoint" C:\Documents and Settings\Kapil\Desktop\samp03\samp03\gamemodes\lvd m.pwn(2364) : error 017: undefined symbol "pName" C:\Documents and Settings\Kapil\Desktop\samp03\samp03\gamemodes\lvd m.pwn(2364) : error 017: undefined symbol "pName" C:\Documents and Settings\Kapil\Desktop\samp03\samp03\gamemodes\lvd m.pwn(2364) : error 029: invalid expression, assumed zero C:\Documents and Settings\Kapil\Desktop\samp03\samp03\gamemodes\lvd m.pwn(2364) : fatal error 107: too many error messages on one line Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 5 Errors. |
new string[128];
C:\Documents and Settings\Kapil\Desktop\samp03\samp03\pawno\include\dutils.inc(28) : warning 219: local variable "string" shadows a variable at a preceding level C:\Documents and Settings\Kapil\Desktop\samp03\samp03\pawno\include\dutils.inc(132) : warning 219: local variable "string" shadows a variable at a preceding level C:\Documents and Settings\Kapil\Desktop\samp03\samp03\pawno\include\dutils.inc(172) : warning 219: local variable "string" shadows a variable at a preceding level C:\Documents and Settings\Kapil\Desktop\samp03\samp03\pawno\include\dutils.inc(267) : warning 219: local variable "string" shadows a variable at a preceding level C:\Documents and Settings\Kapil\Desktop\samp03\samp03\pawno\include\dutils.inc(324) : warning 219: local variable "string" shadows a variable at a preceding level C:\Documents and Settings\Kapil\Desktop\samp03\samp03\pawno\include\dutils.inc(366) : warning 219: local variable "string" shadows a variable at a preceding level C:\Documents and Settings\Kapil\Desktop\samp03\samp03\pawno\include\dini.inc(239) : warning 219: local variable "string" shadows a variable at a preceding level C:\Documents and Settings\Kapil\Desktop\samp03\samp03\gamemodes\lvdm.pwn(510) : warning 219: local variable "string" shadows a variable at a preceding level C:\Documents and Settings\Kapil\Desktop\samp03\samp03\gamemodes\lvdm.pwn(696) : warning 219: local variable "string" shadows a variable at a preceding level C:\Documents and Settings\Kapil\Desktop\samp03\samp03\gamemodes\lvdm.pwn(768) : warning 219: local variable "string" shadows a variable at a preceding level C:\Documents and Settings\Kapil\Desktop\samp03\samp03\gamemodes\lvdm.pwn(768) : warning 204: symbol is assigned a value that is never used: "string" C:\Documents and Settings\Kapil\Desktop\samp03\samp03\gamemodes\lvdm.pwn(768) : warning 204: symbol is assigned a value that is never used: "pName" C:\Documents and Settings\Kapil\Desktop\samp03\samp03\gamemodes\lvdm.pwn(940) : warning 219: local variable "string" shadows a variable at a preceding level C:\Documents and Settings\Kapil\Desktop\samp03\samp03\gamemodes\lvdm.pwn(969) : warning 225: unreachable code C:\Documents and Settings\Kapil\Desktop\samp03\samp03\gamemodes\lvdm.pwn(2319) : error 004: function "PlayerToPoint" is not implemented C:\Documents and Settings\Kapil\Desktop\samp03\samp03\gamemodes\lvdm.pwn(2348) : error 017: undefined symbol "pName" C:\Documents and Settings\Kapil\Desktop\samp03\samp03\gamemodes\lvdm.pwn(2348) : error 017: undefined symbol "pName" C:\Documents and Settings\Kapil\Desktop\samp03\samp03\gamemodes\lvdm.pwn(2348) : error 029: invalid expression, assumed zero C:\Documents and Settings\Kapil\Desktop\samp03\samp03\gamemodes\lvdm.pwn(2348) : fatal error 107: too many error messages on one line Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 5 Error