[HELP]SetPlayerHoldingObject
#2

Quote:
Originally Posted by Larsey123IsMe
Посмотреть сообщение
I got 3 Error! Any idea how to fix?


pawn Код:
#include <a_samp>

public OnPlayerSpawn(playerid)
{
    SetPlayerHoldingObject(playerid, 1609, 2); //Attach a turtle to the playerid's head!
    return 1;
}

public OnPlayerDeath(playerid, killerid, reason)
{
    if(IsPlayerHoldingObject(playerid)) StopPlayerHoldingObject(playerid);
    return 1;
}
ERROR!
pawn Код:
error 017: undefined symbol "SetPlayerHoldingObject"
error 017: undefined symbol "IsPlayerHoldingObject"
error 017: undefined symbol "StopPlayerHoldingObject"
Update all your includes to the latest ones from http://www.sa-mp.com in the server package.
If you did, make sure to not doubleclick on the script, It might open the script in the wrong pawno which uses old includes in another folder.

Open the pawno.exe that has the latest includes, and Open the script from within Pawno.
Reply


Messages In This Thread
[HELP]SetPlayerHoldingObject - by Larsey123IsMe - 12.11.2010, 05:12
Re: [HELP]SetPlayerHoldingObject - by Mike Garber - 12.11.2010, 05:16
Re: [HELP]SetPlayerHoldingObject - by Larsey123IsMe - 12.11.2010, 05:21

Forum Jump:


Users browsing this thread: 1 Guest(s)