12.11.2012, 18:32
hey everyone,
i made this little /jetpack and /jp cmd, but now there is a bugg i really want to fix,
when i do /jetpack, it all works and i get a jetpack, and i can fly around, but at the other player, lets say my friend, at him im still standing at the place i did /jetpack, and am not flying around...
so this is my code:
anyone knows why he is doing this? and not just lets me fly at EVERYONE, instead of just at me and at rest im just standing there...
greets niels
i made this little /jetpack and /jp cmd, but now there is a bugg i really want to fix,
when i do /jetpack, it all works and i get a jetpack, and i can fly around, but at the other player, lets say my friend, at him im still standing at the place i did /jetpack, and am not flying around...
so this is my code:
pawn Code:
CMD:jetpack(playerid, params[])
{
if(PlayerInfo[playerid][AdminLevel] >= 3)
{
SetPlayerSpecialAction(playerid, 2);
SendCommandToAdmins(playerid,"/jetpack");
}
else return SendClientMessage(playerid, COLOR_RED, "ERROR: you need to be atleast Admin Level 3 to use this command");
return 1;
}
greets niels