Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //Open the pawno.exe from within your TS folder->pawno, and then open the bare.pwn gamemode from the gamemodes folder.
- //Paste the lines bellow under the '#include <a_samp>'
- #include <YSI\y_commands>
- #include <YSI\y_master>
- #include <sscanf2>
- //Paste this lines at the end of the script
- CMD:gotoxyz(playerid,params[])
- {
- if(IsPlayerConnected(playerid))
- {
- new Float:posx,Float:posy,Float:posz, inte;
- if(sscanf(params,"fffi",posx,posy,posz,inte))return SendClientMessage(playerid,-1,"* Tyope: /gotoxyz [posx][posy][posz][int]");
- {
- SetPlayerPos(playerid,posx,posy,posz);
- SetPlayerInterior(playerid,inte);
- GameTextForPlayer(playerid,"~w~You got~y~teleported",5000,4);
- }
- }
- return 1;
- }
- CMD:setint(playerid,params[])
- {
- new intid;
- if(sscanf(params,"d",intid))return SendClientMessage(playerid,-1,"Type: /setint [interiorid]");
- SetPlayerInterior(playerid,intid);
- return 1;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement