String.
#1

The string is for all players.
Код HTML:
new stdl[MAX_PLAYERS][50];
Код HTML:
format(stdl[playerid], sizeof(stdl[playerid]), "Your Dialog, %s.", GetPName(playerid));
ERROR:
Код HTML:
error 001: expected token: "]", but found "-identifier-"
warning 215: expression has no effect
error 001: expected token: ";", but found "]"
error 029: invalid expression, assumed zero
Reply
#2

You can use this:
Код:
format(stdl[playerid], 50, "Your Dialog, %s.", GetPName(playerid));
Reply
#3

Ok, thank you.
Reply
#4

Actually use
PHP код:
sizeof(std1[]) 
to get the size of the second dimension (50).
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)