RamsesOfficial Posted July 6, 2018 Posted July 6, 2018 Salut, folosesc si eu server mapping pentru proiecte, insa GM-ul nu prezinta nici o comanda de teleport sau flymode pentru caracter. Ma poate ajuta cineva cu urmatoarele comenzi: /gotomall - spawn CNN LS /gotosm - Spawn LSPD /gotosm - Spawn pe parcarea din Santa Maria si /flymode ON / OFF. Merci Quote
.LepS Posted July 6, 2018 Posted July 6, 2018 Cum sa faci comanda de fly: #include <fly> new Flymode[MAX_PLAYERS]; CMD:flymode(playerid, params[]) { if(IsPlayerAdmin(playerid)) { if(Flymode[playerid] == 0) { InitFly(playerid); StartFly(playerid); Flymode[playerid] = 1; } else { StopFly(playerid), Flymode[playerid] = 0; } } return 1; } Eu ti-am dat doar un exemplu de flymode, comenzile de teleport le poti face si singur. Quote
Dany Junior Posted July 6, 2018 Posted July 6, 2018 (edited) CMD:Comanda(playerid, params[]) { if(PlayerInfo[playerid][pAdmin] < 1) return SendClientMessage(playerid, COLOR_WHITE, AdminOnly); if(GetPlayerState(playerid) == 2) SetVehiclePosEx(playerid, GetPlayerVehicleID(playerid), Cordonatele tale); else SetPlayerPosEx(playerid, CordonateleTale); SetPlayerInterior(playerid,0); InHQ[playerid] = -1; InHouse[playerid] = -1; InBussines[playerid] = -1; SetPlayerVirtualWorld(playerid,0); return 1; } Bafta in caz de orice erroare imi dai pm Edited July 6, 2018 by ImDanyJrr Quote
CosminAK47. Posted July 7, 2018 Posted July 7, 2018 (edited) CMD:teleport(playerid, params[]) { if(PlayerInfo[playerid][pAdmin] < 1) return SCM(playerid, COLOR_GREY, "nu esti admin"); SetPlayerPosEx(playerid, aici pui coordonatele unde vrei sa te teleporteze); SetPlayerVirtualWorld(playerid, 0); SetPlayerInterior(playerid, 0); SCM(playerid, COLOR_GREY, "te-ai teleportat cu succes"); return 1; } Edited July 7, 2018 by CosminAK47. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.