I need to remove the yellow arrows and replace them with Icons Any help? -
Vito_Newman - 25.02.2009
I need to remove the yellow arrows and replace them with Icons, Any help?
Its for the godfather script, so please can you also tell me where to put them.
Thanks.
Re: I need to remove the yellow arrows and replace them with Icons Any help? -
boylett - 25.02.2009
There is an sa-mp function to do this, can't remember what it's called, but you don't need a plugin
Re: I need to remove the yellow arrows and replace them with Icons Any help? -
Norn - 25.02.2009
DisableInteriorEnterExits();
CreatePickup(,,,,,);
Re: I need to remove the yellow arrows and replace them with Icons Any help? -
Vito_Newman - 26.02.2009
Quote:
Originally Posted by Norn
DisableInteriorEnterExits();
CreatePickup(,,,,,);
|
And where do i put this.
Re: I need to remove the yellow arrows and replace them with Icons Any help? -
Marcel - 27.02.2009
OnGameModeInit.
Re: I need to remove the yellow arrows and replace them with Icons Any help? -
Rks25 - 27.02.2009
Do not forget to make if() statements at OnPlayerPickupPickup, if you ment to show information when a player picks up a pickup.
Re: I need to remove the yellow arrows and replace them with Icons Any help? -
Frank_Tesla - 27.02.2009
You guys are all giving him the impression that this will switch out the yellow triangles for something else....
when in fact he has to hand code them all. from scratch.
Re: I need to remove the yellow arrows and replace them with Icons Any help? -
Vito_Newman - 27.02.2009
Quote:
Originally Posted by Vito_Newman
Quote:
Originally Posted by Norn
DisableInteriorEnterExits();
CreatePickup(,,,,,);
|
And where do i put this.
|
And how should i edit this for a certain building, lets say.. LSPD.
Re: I need to remove the yellow arrows and replace them with Icons Any help? -
ғαιιοцт - 27.02.2009
Quote:
Originally Posted by Vito_Newman
Quote:
Originally Posted by Vito_Newman
Quote:
Originally Posted by Norn
DisableInteriorEnterExits();
CreatePickup(,,,,,);
|
And where do i put this.
|
And how should i edit this for a certain building, lets say.. LSPD.
|
DisableInteriorEnterExits(); at OnGameModeInit()
and CreatePickup(pickupid, type, x, y, z);
to get the x, y, and z, just go to the police station and type /save
then go to savedpositions.txt (in your main gta folder) and there you can see something like this:
AddPlayerClass( 0,
0.0000, 0.0000, 0.0000, 0.0000, 0, 0, 0, 0, 0, 0);
the bold part are the x, y and z coords
Re: I need to remove the yellow arrows and replace them with Icons Any help? -
Vito_Newman - 27.02.2009
Quote:
DisableInteriorEnterExits(); at OnGameModeInit()
and CreatePickup(pickupid, type, x, y, z);
to get the x, y, and z, just go to the police station and type /save
then go to savedpositions.txt (in your main gta folder) and there you can see something like this:
AddPlayerClass( 0, 0.0000, 0.0000, 0.0000, 0.0000, 0, 0, 0, 0, 0, 0);
the bold part are the x, y and z coords
|
Ok i have tried but have got an error.
Heres my pawn code
Code:
DisableInteriorEnterExits();
CreatePickup(pickupid, type, 288246, 572564, 58111003);
And my error
C:\Documents and Settings\Administrator\Desktop\Evolution Roleplay 0.1\gamemodes\gf.pwn(6649) : error 017: undefined symbol "pickupid"
Does the type bit mean type of Pickupid? so how would i write informaiton symbol..
Edit: Ok i have found the information ID. and am now stuck with
DisableInteriorEnterExits();
CreatePickup(1239, type, 288246, 572564, 58111003);
with the Error
C:\Documents and Settings\Administrator\Desktop\Evolution Roleplay 0.1\gamemodes\gf.pwn(6649) : error 017: undefined symbol "type"
and i tried deleting the type section, but got an error. By the way i hardly know anything about scripting and im sure thats obvious.