public CheckStatus ()
{
for(new i=0; i{
if(IsPlayerConnected(i))
{
if(IsPlayerInAnyVehicle(i))
{
new String[256];
new vehicle = GetPlayerVehicleID(i);
new model = GetVehicleModel(vehicle);
if(IsAPlane(vehicle) || IsABoat(vehicle) || IsABike(vehicle) || model == 537 || model == 538) format(String,sizeof(String),"~y~FueL : ~g~N/A");
else format(String,sizeof(String),"~w~FueL : ~g~%d/~r~80", Gas[vehicle]);
new string1[128];
format(string1,sizeof(string1),"~w~CKOPOC’: ~g~%d ~w~KM/.",GetPlayerSpeed(i));
if(BenCreated == true)
{
TextDrawDestroy(Ben);
TextDrawDestroy(speedtext);
}
Ben = TextDrawCreate(498.5,118.0,String);
TextDrawAlignment(Ben,0);
TextDrawFont(Ben,1);
TextDrawLetterSize(Ben,0.405000,1.555777);
TextDrawColor(Ben,COLOR_YELLOW);
TextDrawSetOutline(Ben,1);
TextDrawSetProportional(Ben,1);
TextDrawSetShadow(Ben,0);
TextDrawShowForPlayer(i, Ben);
speedtext = TextDrawCreate(502.5,136.0,string1);
TextDrawAlignment(speedtext,0);
TextDrawSetShadow(speedtext,1);
TextDrawFont(speedtext,1);
TextDrawSetOutline(speedtext,1);
TextDrawSetProportional(speedtext,1);
TextDrawColor(speedtext,COLOR_YELLOW);
TextDrawLetterSize(speedtext,0.405000,1.555777);
TextDrawShowForPlayer(i, speedtext);
BenCreated = true;
}
}
};>
}
вот тут и ошибочка !
C:\Users\admin\Desktop\world.pwn(47083) : error 021: symbol already defined: "CheckStatus"
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
1 Error.
{
for(new i=0; i{
if(IsPlayerConnected(i))
{
if(IsPlayerInAnyVehicle(i))
{
new String[256];
new vehicle = GetPlayerVehicleID(i);
new model = GetVehicleModel(vehicle);
if(IsAPlane(vehicle) || IsABoat(vehicle) || IsABike(vehicle) || model == 537 || model == 538) format(String,sizeof(String),"~y~FueL : ~g~N/A");
else format(String,sizeof(String),"~w~FueL : ~g~%d/~r~80", Gas[vehicle]);
new string1[128];
format(string1,sizeof(string1),"~w~CKOPOC’: ~g~%d ~w~KM/.",GetPlayerSpeed(i));
if(BenCreated == true)
{
TextDrawDestroy(Ben);
TextDrawDestroy(speedtext);
}
Ben = TextDrawCreate(498.5,118.0,String);
TextDrawAlignment(Ben,0);
TextDrawFont(Ben,1);
TextDrawLetterSize(Ben,0.405000,1.555777);
TextDrawColor(Ben,COLOR_YELLOW);
TextDrawSetOutline(Ben,1);
TextDrawSetProportional(Ben,1);
TextDrawSetShadow(Ben,0);
TextDrawShowForPlayer(i, Ben);
speedtext = TextDrawCreate(502.5,136.0,string1);
TextDrawAlignment(speedtext,0);
TextDrawSetShadow(speedtext,1);
TextDrawFont(speedtext,1);
TextDrawSetOutline(speedtext,1);
TextDrawSetProportional(speedtext,1);
TextDrawColor(speedtext,COLOR_YELLOW);
TextDrawLetterSize(speedtext,0.405000,1.555777);
TextDrawShowForPlayer(i, speedtext);
BenCreated = true;
}
}
};>
}
вот тут и ошибочка !
C:\Users\admin\Desktop\world.pwn(47083) : error 021: symbol already defined: "CheckStatus"
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
1 Error.