I need to remove the yellow arrows and replace them with Icons Any help?
#1

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

There is an sa-mp function to do this, can't remember what it's called, but you don't need a plugin
Reply
#3

DisableInteriorEnterExits();
CreatePickup(,,,,,);
Reply
#4

Quote:
Originally Posted by Norn
DisableInteriorEnterExits();
CreatePickup(,,,,,);
And where do i put this.
Reply
#5

OnGameModeInit.
Reply
#6

Do not forget to make if() statements at OnPlayerPickupPickup, if you ment to show information when a player picks up a pickup.
Reply
#7

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

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

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
Reply
#10

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.

Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)