Using SetPlayerShopName? - 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)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Using SetPlayerShopName? (
/showthread.php?tid=95343)
Using SetPlayerShopName? -
dkorolenchuk - 03.09.2009
When i add this to my script
Код:
SetPlayerInterior(playerid, 5);
SetPlayerPos(playerid, 372.5565, -131.3607, 1001.4922);
SetPlayerShopName(playerid,"FDPIZA");
SendClientMessage(playerid,0xFFFFFFFF,"Welcome to Pizza Stack!");
I get the
Код:
error 017: undefined symbol "SetPlayerShopName"
error
What should i do in this case,do i have to add anything like an include to the top of my script if SetPlayerShopName is built into the new 0.3?
Re: Using SetPlayerShopName? -
dugi - 03.09.2009
Make sure that you are using the 0.3 includes.
Re: Using SetPlayerShopName? -
dkorolenchuk - 03.09.2009
Код:
#include <core>
#include <float>
#include "../include/gl_common.inc"
#include "../include/gl_spawns.inc"
These are at the top of the filterscript
Re: Using SetPlayerShopName? -
MaTrIx4057 - 03.09.2009
#include <a_samp>