Help please - 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: Help please (
/showthread.php?tid=483672)
Help please -
PrinceOfPersia - 27.12.2013
Hello guys
Код:
C:\Users\Mido\Desktop\Project Evolution Roleplay\Los Santos Public Roleplay [0.3x]\gamemodes\PERP1.pwn(8616) : error 017: undefined symbol "playerid"
Line 8616
Код:
RemoveBuildingForPlayer(playerid, 717, 1476.9844, -1381.4609, 61.6797, 0.25);
nativechecker for RemoveBuildingForPlayer in a_players
Код:
native RemoveBuildingForPlayer(playerid, modelid, Float:fX, Float:fY, Float:fZ, Float:fRadius);
Thanks alot if you helped me.
AW: Help please -
CutX - 27.12.2013
is that
RemoveBuildingForPlayer(playerid, 717, 1476.9844, -1381.4609, 61.6797, 0.25);
line in OngamemodeInit?
if so, move it to OnPlayerConnect
you have 2 make sure that the callback youre placing it inside has an playerid argument.
for example, OnGameModeInit has none "OnGameModeInit
()"
Re: Help please -
Konstantinos - 27.12.2013
Use the RemoveBuildingForPlayer function IN OnPlayerConnect and not somewhere else that doesn't have playerid as parameter.
Nativechecker is plugin, native is not (
https://sampwiki.blast.hk/wiki/Keywords:Initialisers#native).
Re: Help please -
PrinceOfPersia - 27.12.2013
I moved it already to OnPlayerConnect
and still gets me that
Re: Help please -
PrinceOfPersia - 27.12.2013
It worked
Thank you.