Formatting player variable freaking?
#1

Im trying to format the player variable, playerdata[playerid][info], to equal the string "Use /work to begin a route!" like this:
pawn Код:
format(playerdata[playerid][info],sizeof(playerdata[playerid][info]),"Use /work to begin a route!");
And this cause pawno to flip out.
Код:
C:\Users\Ingo\Desktop\samp03dsvr_R2_win32\gamemodes\ATL.pwn(525) : error 001: expected token: "]", but found "-identifier-"
C:\Users\Ingo\Desktop\samp03dsvr_R2_win32\gamemodes\ATL.pwn(525) : warning 215: expression has no effect
C:\Users\Ingo\Desktop\samp03dsvr_R2_win32\gamemodes\ATL.pwn(525) : error 001: expected token: ";", but found "]"
C:\Users\Ingo\Desktop\samp03dsvr_R2_win32\gamemodes\ATL.pwn(525) : error 029: invalid expression, assumed zero
C:\Users\Ingo\Desktop\samp03dsvr_R2_win32\gamemodes\ATL.pwn(525) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


4 Errors.
What the heck did i do wrong, lol.
Reply


Messages In This Thread
Formatting player variable freaking? - by Rokzlive - 15.01.2012, 02:38
Re: Formatting player variable freaking? - by Scenario - 15.01.2012, 02:40
Re: Formatting player variable freaking? - by Rokzlive - 15.01.2012, 02:41
Re: Formatting player variable freaking? - by coole210 - 15.01.2012, 02:43

Forum Jump:


Users browsing this thread: 1 Guest(s)