How do i make gate open and close? Please help me with this small thing
#5

Quote:
Originally Posted by Darkwood17
Посмотреть сообщение
Use strcmp to check the player-name.
Setting the last parameter to 4 means that only the first 4 characters will be compared.

Код:
new name[MAX_PLAYER_NAME]; 
GetPlayerName(playerid, name, sizeof(name));
if (strcmp(name, "[BD]", true, 4))
{
    // Do code here
}
Define your object and then use MoveDynamicObject (for Streamer) to move it:
Код:
MoveDynamicObject(objectid, Float:x, Float:y, Float:z, Float:speed, Float:rx, Float:ry, Float:rz);
Can you please give the full code, i didn't understand?
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)