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.