28.09.2010, 19:19
I need that if i type /flip then game say that "You flipped your (carname)
if(strcmp(cmdtext, "/flip", true) == 0)
{
new currentveh,Float:ang;
currentveh = GetPlayerVehicleID(playerid);
GetVehicleZAngle(currentveh,ang);
SetVehicleZAngle(currentveh, ang+0.5);
new newtext[256];
format(newtext, sizeof(newtext), "~y~ ~h~You Flipped Your %s~h~ ~y~."); in here i want
TextDrawSetString(TextdrawText, newtext);
TextDrawShowForPlayer(playerid, TextdrawText);
SetTimer("TextdrawTextRemove", 2000, false);
return 1;
}
maybe someone can help.
THX
if(strcmp(cmdtext, "/flip", true) == 0)
{
new currentveh,Float:ang;
currentveh = GetPlayerVehicleID(playerid);
GetVehicleZAngle(currentveh,ang);
SetVehicleZAngle(currentveh, ang+0.5);
new newtext[256];
format(newtext, sizeof(newtext), "~y~ ~h~You Flipped Your %s~h~ ~y~."); in here i want
TextDrawSetString(TextdrawText, newtext);
TextDrawShowForPlayer(playerid, TextdrawText);
SetTimer("TextdrawTextRemove", 2000, false);
return 1;
}
maybe someone can help.
THX