SA-MP Forums Archive
[INC+FS] Spray Tags - 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: Filterscripts (https://sampforum.blast.hk/forumdisplay.php?fid=17)
+--- Thread: [INC+FS] Spray Tags (/showthread.php?tid=32688)



[INC+FS] Spray Tags - Rafelder_GRF - 01.04.2008

Spray Tags
Description:

Ingame:

-To spray a tag you have to shoot with a spraycam infront of the tag while you are looking at the tag.
-Unsprayed tags are created with CreateObject
-Sprayed tags are created with CreatePlayerObject (so everybody can spray his spray tag)

Scriptingfunctions:

CreateSprayTag(spraytag, Float:X, Float:Y, Float:Z, Float:A);
Create a spray tag (available spraytags: SPRAY_GROVE, SPRAY_BALLAS, SPRAY_VAGOS, SPRAY_AZTECAS)
GetSprayModel(sprayid);
Returns the model of a sprayid.
GetSprayPos(sprayid, &Float:X, &Float:Y, &Float:Z, &Float:A);
Returns the position.
SetPlayerSprayTag(playerid, spraytag);
Sets the player's spraytag (the player will spray this spraytag)
GetPlayerSprayTag(playerid);
Returns the spraytag of a player.
GetPlayerSprayedSprayTags(playerid);
Returns the amount of sprayed spray tags.
HasPlayerSprayedSprayTag(playerid, sprayid)
Checks if the player sprayed this sprayid.
Spray_OnPlayerConnect(playerid);
You know what this is.

Callbacks:

OnPlayerSpraySprayTag(playerid, sprayid)
Will be called if a player sprays a spraytag.
OnPlayerSprayedAllSprayTags(playerid)
Will be called if a player sprayed his last spraytag.

Spraytag editor:

/create [Grove/Ballas/Vagos/Aztecas]
Create a spray tag.
/select [id] | /select
Selects a tag id | Selects the closest tag id
/set
Sets the tag id's position.
/del
Deletes the actual tag id.
/savetofile [filename]
Saves all spray tags in a file.

Bugs:

Known bug with the first spray tag. (2nd picture) ( .../3 | 1/3 )
Not really a bug:
Dont use more than 75 spray tags (object limit! = 150 (75 spray tags = 75 normal objects + 75 player objects))

Videos+Pictures:

Video (Editor + Ingame + Bad quality): http://www.youtube.com/watch?v=nu7Fyykm49s



Download:




Re: [INC+FS] Spray Tags - cocakiller - 01.04.2008

schцn


Re: [INC+FS] Spray Tags - arnutisz - 01.04.2008

nice very nice


Re: [INC+FS] Spray Tags - Rafelder_GRF - 01.04.2008

Quote:
Originally Posted by cocakiller
schцn
Quote:
Originally Posted by arnutisz
nice very nice
Thanks

Du weiЯt das ich deutsch bin? xD Woher?




Re: [INC+FS] Spray Tags - DarG - 01.04.2008

Very Nice,I Liked It..!
=D




Re: [INC+FS] Spray Tags - Einstein - 01.04.2008

Wow Rafelder sehr gut gemacht gefдllt mir =))

Coca weiЯ es ausm Deutschem Samp Forum wie ich ^^


Re: [INC+FS] Spray Tags - Gutoo - 01.04.2008

Nice!


Re: [INC+FS] Spray Tags - Zh3r0 - 01.04.2008

nice 1 refelder nice


Re: [INC+FS] Spray Tags - Deji - 01.04.2008

hmm. maybe one with a gang mode for lvdm. so that you can spray the gang name on the wall! it's probably have to be boring plain text though. unfurtunatly i cant see the use of this for my server. cool script anyway


Re: [INC+FS] Spray Tags - Mr Qtip - 01.04.2008

this is a keeper..Nice work :d I was hoping for soemtihng like this to come out