[POMOC] Kako ovo da obrisem?
643
pregleda
3
postova
8. Jan. 2011.
ovako, ovo nadji u GM-u i izbrisi 😛
public CheckStatus()
{
for(new i=0; i {
if(IsPlayerConnected(i))
{
if(IsPlayerInAnyVehicle(i))
{
if(TextShow == false)
{
TextDrawShowForPlayer(i, Text:Black0);
TextDrawShowForPlayer(i, Text:Black1);
TextDrawShowForPlayer(i, Text:Black2);
TextDrawShowForPlayer(i, Text:Black3);
TextDrawShowForPlayer(i, Text:LightBlack);
TextShow = true;
}
new String;
new Float:X, Float:Y, Float:Z, Float:Speed;
new vehicle = GetPlayerVehicleID(i);
GetVehicleVelocity(GetPlayerVehicleID(i), X, Y, Z);
Speed = floatmul(floatsqroot(floatadd(floatadd(floatpower(X, 2), floatpower(Y, 2)), floatpower(Z, 2))), 100.0);
format(String,sizeof(String),"~b~ D-Board~n~~r~Fuel: ~w~%i~n~~r~km/h: ~w~%i", Gas, floatround(Speed, floatround_floor));
if(VHSCreated == true)
{
TextDrawDestroy(VHS);
}
VHS = TextDrawCreate(541.000000,137.000000,String);
TextDrawAlignment(VHS,0);
TextDrawBackgroundColor(VHS,0x000000ff);
TextDrawFont(VHS,1);
TextDrawLetterSize(VHS,0.299999,1.000000);
TextDrawColor(VHS,0xffffffff);
TextDrawSetOutline(VHS,1);
TextDrawSetProportional(VHS,1);
TextDrawSetShadow(VHS,1);
TextDrawShowForPlayer(i, VHS);
VHSCreated = true;
}
else
{
if(TextShow == true)
{
TextDrawHideForPlayer(i, Text:Black0);
TextDrawHideForPlayer(i, Text:Black1);
TextDrawHideForPlayer(i, Text:Black2);
TextDrawHideForPlayer(i, Text:Black3);
TextDrawHideForPlayer(i, Text:LightBlack);
TextDrawHideForPlayer(i, Text:VHS);
TextShow = false;
}
}
}
}
}
Ako ti javi error "NameTimer" nadji ga u gm i izbrisi ga..
public CheckStatus()
{
for(new i=0; i
if(IsPlayerConnected(i))
{
if(IsPlayerInAnyVehicle(i))
{
if(TextShow == false)
{
TextDrawShowForPlayer(i, Text:Black0);
TextDrawShowForPlayer(i, Text:Black1);
TextDrawShowForPlayer(i, Text:Black2);
TextDrawShowForPlayer(i, Text:Black3);
TextDrawShowForPlayer(i, Text:LightBlack);
TextShow = true;
}
new String;
new Float:X, Float:Y, Float:Z, Float:Speed;
new vehicle = GetPlayerVehicleID(i);
GetVehicleVelocity(GetPlayerVehicleID(i), X, Y, Z);
Speed = floatmul(floatsqroot(floatadd(floatadd(floatpower(X, 2), floatpower(Y, 2)), floatpower(Z, 2))), 100.0);
format(String,sizeof(String),"~b~ D-Board~n~~r~Fuel: ~w~%i~n~~r~km/h: ~w~%i", Gas, floatround(Speed, floatround_floor));
if(VHSCreated == true)
{
TextDrawDestroy(VHS);
}
VHS = TextDrawCreate(541.000000,137.000000,String);
TextDrawAlignment(VHS,0);
TextDrawBackgroundColor(VHS,0x000000ff);
TextDrawFont(VHS,1);
TextDrawLetterSize(VHS,0.299999,1.000000);
TextDrawColor(VHS,0xffffffff);
TextDrawSetOutline(VHS,1);
TextDrawSetProportional(VHS,1);
TextDrawSetShadow(VHS,1);
TextDrawShowForPlayer(i, VHS);
VHSCreated = true;
}
else
{
if(TextShow == true)
{
TextDrawHideForPlayer(i, Text:Black0);
TextDrawHideForPlayer(i, Text:Black1);
TextDrawHideForPlayer(i, Text:Black2);
TextDrawHideForPlayer(i, Text:Black3);
TextDrawHideForPlayer(i, Text:LightBlack);
TextDrawHideForPlayer(i, Text:VHS);
TextShow = false;
}
}
}
}
}
Ako ti javi error "NameTimer" nadji ga u gm i izbrisi ga..
Morate biti prijavljeni da biste odgovorili na ovu temu.
Prijava