Need help !!
#1

got an error

Код:
C:\Users\Wiingee\Desktop\Raven's Roleplay 0.3x\gamemodes\stimulusrp.pwn(21528) : error 017: undefined symbol "playerid"
line 21528:
Код:
RemoveBuildingForPlayer(playerid, 1266, 1538.5234, -1609.8047, 19.8438, 0.25);
Im using a ravens rp script
Reply
#2

Where'd you put this? Because appearantly, you put this ins a callback (or function) where playerid is not defined.
Reply
#3

I put it ontop of createdynamicobject, why where should i put it?
Reply
#4

Put it either in OnPlayerConnect, or in OnPlayerSpawn (both'll work, I always put them in OnPlayerSpawn).
pawn Код:
public OnPlayerSpawn(playerid)
{
    RemoveBuildingForPlayer(playerid, 1266, 1538.5234, -1609.8047, 19.8438, 0.25);
    return 1;
}
Though it's unneeded in OnPlayerSpawn (it gets called all the time). You'd best put it in OnPlayerConnect
Reply
#5

Thankyou!!!!
Reply
#6

You're welcome!
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)