New SprayTags...HELP
#1

Код:
new SprayTags[MAX_PLAYERS][MAX_PLAYERS_TAGS][SPRAYTAG_DATA];
Код:
error 001: expected token: "]", but found "."
WHATS THE PROBLEM??
Reply
#2

Why dont u

Код:
new SprayTags[MAX_PLAYERS_TAGS][SPRAYTAG_DATA];
?
Reply
#3

Quote:
Originally Posted by kexy96
Посмотреть сообщение
WHATS THE PROBLEM??
Show what code is above that piece you showed.
Reply
#4

Don't work
Reply
#5

Код:
for(new i; i < MAX_PLAYERS_TAGS; i++)//this line error...
			{
				new szTag[24];
				format(szTag, sizeof szTag, "{F7EC6F}Free");
				if(strfind(SprayTags[iPlayerID][i][_spOwned], szName, true) != -1)
				{
					format(szTag, sizeof(szTag), "{F7EC6F}Spray Tag #%i", i);
				}
				format(szDialog, sizeof(szDialog), "%s%s\n", szDialog, szTag);
			}
Reply
#6

Show some lines before it also
Reply
#7

Just on a side note, keep consistent.

PHP код:
format(szTagsizeof szTag"{F7EC6F}Free");
format(szTagsizeof(szTag), "{F7EC6F}Spray Tag #%i"i);
format(szDialogsizeof(szDialog), "%s%s\n"szDialogszTag); 
It's likely unrelated.

PHP код:
sizeof(szTag
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)