Jump to content
  • Global

    Global

    Chatroom Rules

    • NO SE DA SOPORTE EN CHATBOX
    • NO SPAM
    • NO FLOOD

Recommended Posts

  • Usuario
Posted

hola hoy les traigo el comando /ir

 

	if ( strcmp( cmd, "/ir", true ) == 0 )
{
	new tmp[256];
	tmp = strtok( cmdtext, idx );

	if ( !strlen( tmp ) ) { return 1; }

	new Float:X, Float:Y, Float:Z;

	if ( GetPlayerVehicleID( playerid ) )
	{
		GetPlayerPos( strval(tmp), X, Y, Z );
		SetVehiclePos( GetPlayerVehicleID(playerid), X+2, Y+2, Z );
	} else {
		GetPlayerPos( strval(tmp), X, Y, Z );
		SetPlayerPos( playerid, X+2, Y+2, Z );
	}

	return 1;
}

 

y ahi van al server y pongan /ir el id del jugador si ponen solo /ir no dice nada pero si ponen /ir 1 por ejemplo van al player

  • Usuario
Posted

man lo unico que hiciste fue ir al gm

pone ctrl+ f escrivir /go

y cambiar el /go por el /ir -.-

 

pd : si es un tuto ponele [Tutorial]

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...