help fast please!
#1

Hello.
When i type /getmfa to get my facing angle, It sends me a message "[ADMIN] Y" instead of "[ADMIN] 180 or 90.."
Can someone tell me what's wrong in this ?

PHP код:
CMD:getmfa(playeridparams[])
{
        if(
AdminLevel[playerid] < 4) return SCM(playerid,COLOR_WHITE,"{FF0000}[ERROR]{FFFFFF} You do not have the correct admin level for this command.");
        new 
Float:Anglestring[26];
        
GetPlayerFacingAngle(playeridAngle);
        
format(stringsizeof(string), "{FF0770}[ADMIN]{FFFFFF} Your facing angle is: %0.2f"Angle);
        
SendClientMessage(playerid0xFFFFFFFFstring);
        return 
1;

Reply
#2

The string size is too small
use
new string[70]
Reply
#3

Quote:
Originally Posted by BroZeus
Посмотреть сообщение
The string size is too small
use
new string[70]
Well thank you
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)