MoveObject, when found tag in name
#1

How can i have MoveObject when a Player has For example [EX] tag in his name.
Reply
#2

Tag is not matter for MoveObject, I don't understand u.
Reply
#3

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

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
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)