- 0
Problema LoopingAnim
-
Similar Content
-
Recently Browsing 0 members
- No registered users viewing this page.
We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.
Question
leon
Am bagat si eu ceva prin GM si ami da 1 Warning
nush de la ce o fi.
C:\Documents and Settings\LEON\Desktop\SA-MP\gamemodes\a.pwn(41229) : warning 203: symbol is never used: "LoopingAnim"
Da la linia aia care mio zice nu se afla nimik e sfarsitul la GM
stock GetPlayerSpeed(playerid)
{
new Float:X, Float:Y, Float:Z;
if(IsPlayerInAnyVehicle(playerid))
{
GetVehicleVelocity(GetPlayerVehicleID(playerid), X, Y, Z);
return floatround(floatmul(floatmul(floatsqroot(floatpower(floatabs(X), 2) + floatpower(floatabs(Y), 2) + floatpower(floatabs(Z), 2)), 100), 1.621371192), floatround_round);
}
else
{
GetPlayerVelocity(playerid, X, Y, Z);
return floatround(floatmul(floatmul(floatsqroot(floatpower(floatabs(X), 2) + floatpower(floatabs(Y), 2) + floatpower(floatabs(Z), 2)), 100), 1.621371192), floatround_round);
}
} lini aia 41229 vine sub paranteza asta da nu e nimik dedesupt , ultima linie e 41228
Singurele chestii care le am cu LoopingAnim sunt astea
new gPlayerUsingLoopingAnim[MAX_PLAYERS];
LoopingAnim(playerid,animlib[],animname[], Float:Speed, looping, lockx, locky, lockz, lp)
{
if (workingout[playerid] == 1)
{
SendClientMessage(playerid,COLOR_GREY," You cannot do this right now");
return 1;
}
if(PlayerCuffed[playerid] == 1)
{
SendClientMessage(playerid, COLOR_GREY, "You cannot do this right now!");
return 1;
}
gPlayerUsingLoopingAnim[playerid] = 1;
ApplyAnimation(playerid, animlib, animname, Speed, looping, lockx, locky, lockz, lp);
return 1;
}
Ma puteti ajuta ca nu stiu ce sa fak ???
3 answers to this question
Recommended Posts