/ready
#1

pawn Код:
CMD:ready(playerid,params[])
{
        new text[128],message[256],sender[MAX_PLAYER_NAME];
        new string[128];
        {
         if(sscanf(params,"s",text)) SendClientMessage(playerid, COLOR_GRAD2, "/ready");
         else{
         GetPlayerName(playerid,sender,sizeof(sender));
         format(string, sizeof(string), "* %s takes his gun out and flicks safety off.", sendername);
         ProxDetector(10.0, playerid,message,COLOR_PURPLE);
 }
}
return 1;
}
pawn Код:
C:\Users\Donato\Desktop\Raven's Roleplay 0.3D\gamemodes\larp.pwn(39559) : warning 217: loose indentation
C:\Users\Donato\Desktop\Raven'
s Roleplay 0.3D\gamemodes\larp.pwn(39559) : error 029: invalid expression, assumed zero
C:\Users\Donato\Desktop\Raven's Roleplay 0.3D\gamemodes\larp.pwn(39559) : error 017: undefined symbol "cmd_ready"
C:\Users\Donato\Desktop\Raven'
s Roleplay 0.3D\gamemodes\larp.pwn(39559) : error 029: invalid expression, assumed zero
C:\Users\Donato\Desktop\Raven's Roleplay 0.3D\gamemodes\larp.pwn(39559) : fatal error 107: too many error messages on one line
Reply
#2

Here is an idea, add
Код:
#pragma tabsize 0
at the top of your script, and it will get rid of the Loose indentations
Reply
#3

That changed nothing.
Reply
#4

What's that command even supposed to do?
Reply
#5

just to say that he takes out a gun and turns safety off, without doing /me takes out gun /me turns safety off
Reply
#6

Just do /me
Reply
#7

If you want to make a shortcut for /me, just do this:

pawn Код:
CMD:ready(playerid, params[]) return cmd_me(playerid, "takes out his penis and flicks the safety off.");
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)