SA-MP Forums Archive
playerid unknown function - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: playerid unknown function (/showthread.php?tid=387603)



playerid unknown function - Private200 - 25.10.2012

Код:
D:\World Trucking International\Server\filterscripts\Firefighter.pwn(112) : error 017: undefined symbol "playerid"
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


1 Error.
This is the error i get .

Help please


Re: playerid unknown function - RanSEE - 25.10.2012

because you haven't defined it..
and unless you post the lines no one can help


Re: playerid unknown function - Private200 - 25.10.2012

sorry , i need help for this here . i found the other error and fixed it , but what to do with this one ??

Код:
D:\World Trucking International\Server\gamemodes\gamemode.pwn(13761) : error 035: argument type mismatch (argument 3)
Line :

PHP код:
            TextDrawCreate(playerid30004,"FireFighter"



Re: playerid unknown function - Anthony © - 25.10.2012

Is that line in a public?

Edit: Didn't see your newest error, are the parameters even correct for that? (Float, Float:y, text[]) according to the wiki.

Shouldn't you be using TextDrawShowForPlayer?


Re: playerid unknown function - Private200 - 25.10.2012

Create me a AddPlayerClass and in the middle of the screen it shows FireFighter script please .

That's what i am trying to create