Help please
#1

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.
Reply
#2

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()"
Reply
#3

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).
Reply
#4

I moved it already to OnPlayerConnect
and still gets me that
Reply
#5

It worked
Thank you.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)