newbie-warn help.
#1

So. My pawno is not working properly, and I need someone to help me fix these lines.
Код:
         format( String, sizeof ( String ), "Player %s got banned from newbie chat for earning 3 warnings.", GetPlayerNameEx;


gets this error: error 076: syntax error in the expression, or invalid function call


&

Код:
    return SendClientMessage( playerid, -1, "Only gamemasters/admins can use this command."

 new tempname, temptext[ 128 ];


gets this error: (135876 -- 13587 : error 001: expected token: ",", but found "new"
Reply
#2

Код:
format(string, sizeof(string), "Player %s got banned from newbie chat for earning 3 warnings.", GetPlayerNameEx(playerid));
and show the full code of 135876 - 13587.
Reply
#3

its this

return SendClientMessage( playerid, -1, "Only gamemasters/admins can use this command."

new tempname, temptext[ 128 ];
Reply
#4

Quote:
Originally Posted by DrakeTheScripter
Посмотреть сообщение
its this

return SendClientMessage( playerid, -1, "Only gamemasters/admins can use this command."

new tempname, temptext[ 128 ];
you did not close the message with );

PHP код:
SendClientMessageplayerid, -1"Only gamemasters/admins can use this command."); 
Reply
#5

Thank you.

but, still this error consists.

(135892) : error 076: syntax error in the expression, or invalid function call

FROM LINE: format( String, sizeof ( String ), "Player %s got banned from newbie chat for earning 3 warnings.", GetPlayerNameEx;
Reply
#6

Bump
Reply
#7

Quote:
Originally Posted by DrakeTheScripter
Посмотреть сообщение
Thank you.

but, still this error consists.

(135892) : error 076: syntax error in the expression, or invalid function call

FROM LINE: format( String, sizeof ( String ), "Player %s got banned from newbie chat for earning 3 warnings.", GetPlayerNameEx;
PHP код:
 formatStringsizeof ( String ), "Player %s got banned from newbie chat for earning 3 warnings."GetPlayerNameEx(playerid)) 
Reply
#8

PHP код:
format(Stringsizeof String "Player %s got banned from newbie chat for earning 3 warnings.",GetPlayerNameEx(playerid)); 
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)