MoveObject, when found tag in name - 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: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: MoveObject, when found tag in name (
/showthread.php?tid=105954)
MoveObject, when found tag in name -
Mujib - 31.10.2009
How can i have MoveObject when a Player has For example [EX] tag in his name.
Re: MoveObject, when found tag in name -
Luka P. - 31.10.2009
Tag is not matter for MoveObject, I don't understand u.
Re: MoveObject, when found tag in name -
member - 31.10.2009
I think he means that he wants an object to move igf the player has an [EX] clan tag in his name.
pawn Код:
new pName[MAX_PLAYER_NAME];
GetPlayerName(playerid, pName, sizeof(pName));
if(strfind(pName, "[EX]", true) == 0)
{
MoveObject(...
}
something like that
Re: MoveObject, when found tag in name -
GhOstY93 - 31.10.2009
i think he means: a player got [EX] tag, walks/drives close to an object, the object moves... am i right?
if yes, scripting that takes a lot of time for me because I'm a beginner