#1

PHP код:
\\PC-\Users\Internet Cafe\Desktop\SAVE HERE\MGRP\gamemodes\MGRP.pwn(312) : error 001expected token";"but found "-identifier-" 
PHP код:
CMD:shout(playeridparams[])
{
    new
        
str[128],
        
shout[128]
    ;
    
    if(
sscanf(params"s[100]"shout))
        return 
SendClientMessage(playerid, -1"USAGE: /(s)hout [message]")
        
    
format(strsizeof(str), "%s shouts: %s!"GetName(playerid), shout);  // LINE 312
    
ProxDetector(50.0playeridstr, -1);
    return 
1;

Reply
#2

Learn to read the errors:
This error means that a ';' is missing
Код:
return SendClientMessage(playerid, -1, "USAGE: /(s)hout [message]"); // you missed the ';' here
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)