- 0
Ajutor cu o comanda
-
Similar Content
-
Recently Browsing 0 members
- No registered users viewing this page.
We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.
Question
Costy1998
Stiti cu toti Sisistemu de La Driftun Unversti primu.
As dori si io comanda sa fie si pentru admini nu doar pentru vip
dcmd_vgoto (playerid, params []) { if (PlayerVip [playerid] == 1) { if (! strlen (params)) return SendClientMessage (playerid, 0xFF0000AA, "USAGE: / vgoto [playerid]"); new player1, string [128]; if (! IsNumeric (params)) player1 = ReturnPlayerID (params); else player1 = strval (params); if (IsPlayerConnected (player1) & & player1! = INVALID_PLAYER_ID & & player1! = playerid) { new Float: x, Float: y, Float: z; GetPlayerPos (Player1, x, y, z); SetPlayerInterior (playerid, GetPlayerInterior (Player1)); SetPlayerVirtualWorld (playerid, GetPlayerVirtualWorld (player1)); if (GetPlayerState (playerid) == 2) { SetVehiclePos (GetPlayerVehicleID (playerid), x 3, y, z); LinkVehicleToInterior (GetPlayerVehicleID (playerid), GetPlayerInterior (Player1)); SetVehicleVirtualWorld (GetPlayerVehicleID (playerid), GetPlayerVirtualWorld (player1)); } Else SetPlayerPos (playerid, x +2, y, z); format (string, sizeof (string), "You have teleported to \"% s \ "", pName (player1)); return SendClientMessage (playerid, blue, string); } Else return SendClientMessage (playerid, 0xFF0000AA, "Player is not connected or is yourself"); } Else return SendClientMessage (playerid, 0xFF0000AA, "ERROR: You are not VIP member or Administrator."); }Va rog frumos ajutatima.
1 answer to this question
Recommended Posts