#1

Help Me fast it please


Quote:

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.

Reply
#2

show the code pls
Reply
#3

Seee Full code

Quote:

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;
}

Reply
#4

try this

pawn Код:
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;
}
Reply
#5

it showing this


Quote:

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.

Reply
#6

how can this show the same errors?
If u have also the string defined and the colours this cannot show any errors.
Im sure ure showing the wrong part/cmd or ure pasting this in the wrong callback
Reply
#7

i am not add new pname on Top
how i defined string
Reply
#8

u define ur string like:
pawn Код:
new string[128];
ive edited the code in my previous post, pls look it up
Reply
#9

help me now it showing this



Код:
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
s.
Reply
#10

you have defined ur string either globaly or twice.
Also there might be }{ erros in it.

Check ur error compiler output...
there are errors at different lines so the code u posted is not the only problem and without code we cant fix ur problems.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)