invalid experssion and unexpected token
#1

Getting error in this line

pawn Код:
format(string,sizeof string,"[Suggestion] - Your Suggestion has been sent..",);
Following errors are coming
Код:
error 029: invalid expression, assumed zero
error 001: expected token: ",", but found ";"
Reply
#2

pawn Код:
format(string, sizeof string, "[Suggestion] - Your Suggestion has been sent..");
Edit: Why are you formatting? Just use:
pawn Код:
SendClientMessage(playerid, -1, "[Suggestion] - Your Suggestion has been sent..");
Reply
#3

Quote:
Originally Posted by Dragonsaurus
Посмотреть сообщение
Edit: Why are you formatting? Just use:
pawn Код:
SendClientMessage(playerid, -1, "[Suggestion] - Your Suggestion has been sent..");
Dragonsaurus is right. format is slow, you can do whatever you want directly without formatting it.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)