[INC+FS] Spray Tags
#1

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:

Reply
#2

schцn
Reply
#3

nice very nice
Reply
#4

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?

Reply
#5

Very Nice,I Liked It..!
=D

Reply
#6

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

Coca weiЯ es ausm Deutschem Samp Forum wie ich ^^
Reply
#7

Nice!
Reply
#8

nice 1 refelder nice
Reply
#9

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

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


Forum Jump:


Users browsing this thread: 3 Guest(s)