[HELP]Eror 017 PWN - 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]Eror 017 PWN (
/showthread.php?tid=369334)
[HELP]Eror 017 PWN -
UserIndonesia - 16.08.2012
When I Delete Map, And I Copy To pwn .
Код:
RemoveBuildingForPlayer(playerid, 4024, 1479.8672, -1790.3984, 56.0234, 0.25);
RemoveBuildingForPlayer(playerid, 4044, 1481.1875, -1785.0703, 22.3828, 0.25);
RemoveBuildingForPlayer(playerid, 4002, 1479.8672, -1790.3984, 56.0234, 0.25);
RemoveBuildingForPlayer(playerid, 3980, 1481.1875, -1785.0703, 22.3828, 0.25);
RemoveBuildingForPlayer(playerid, 4003, 1481.0781, -1747.0313, 33.5234, 0.25);
And Pwn
Код:
Erorerror 017: undefined symbol "playerid"
error 017: undefined symbol "playerid"
error 017: undefined symbol "playerid"
error 017: undefined symbol "playerid"
error 017: undefined symbol "playerid"
Anyone Can Help Me?
Re: [HELP]Eror 017 PWN -
Kindred - 16.08.2012
Where the hell are you putting it? Learn basic scripting before asking for help. You are putting it somewhere that playerid isn't specified. If you want the buildings to be removed when the player enters, or when the gamemode starts (impossible) just place that code under OnPlayerConnect.
pawn Код:
public OnGameModeInit()
{
//Wrong, no playerid parameter
public OnPlayerConnect(playerid) //Playerid parameter
{
//Correct
Re: [HELP]Eror 017 PWN -
UserIndonesia - 16.08.2012
Quote:
Originally Posted by Kindred
Where the hell are you putting it? Learn basic scripting before asking for help. You are putting it somewhere that playerid isn't specified. If you want the buildings to be removed when the player enters, or when the gamemode starts (impossible) just place that code under OnPlayerConnect.
pawn Код:
public OnGameModeInit() { //Wrong, no playerid parameter public OnPlayerConnect(playerid) //Playerid parameter { //Correct
|
Where I Put That Pawn Code?
Re: [HELP]Eror 017 PWN -
Kindred - 16.08.2012
Not even going to tell you, because you cannot even understand basic shit.
Put. The. RemoveBuildingForPlayer. Under. OnPlayerConnect. Or. Somewhere. With. Playerid. As. A. Parameter.
Capisce?
Re: [HELP]Eror 017 PWN -
Sandiel - 16.08.2012
You need a function that has the playerid param.
Such as OnPlayerSpawn or OnPlayerConnect.
EDIT: too late
Код:
This forum requires that you wait 120 seconds between posts. Please try again in 86 seconds.
Re: [HELP]Eror 017 PWN -
xSkullx - 16.08.2012
On a newbie language guys.
Add RemoveBuilding etc.. under
pawn Код:
public OnPlayerConnect(playerid)
{