23.03.2013, 06:12
Hello guys, today I created a teleport, just wondered how to teleport to a place with your vehicle? My script is just teleporting without cars.
I need some pros to teach me.
pawn Код:
if (strcmp("/beach", cmdtext, true, 10) == 0)
{
SetPlayerPos(playerid, 309.7616,-1798.7969,4.4990);
SendClientMessage(playerid, 0x00FF00, "Welcome to Los Santo Beach");
new name[MAX_PLAYER_NAME+1], string[128];
GetPlayerName(playerid, name, sizeof(name));
format (string, sizeof(string), "[TP]: %s has teleported to /beach.", name);
SendClientMessageToAll (0x0000BBAA, string);
return 1;
}
