Pos for all
#2

If I understood right:
PHP код:
new Float:savedPosition[3]; // We'll store the position here

CMD:makepos(playeridargs) {
    
GetPlayerPosplayeridsavedPosition[0], savedPosition[1], savedPosition[2] );
    
SendClientMessageplayerid, -1"Position was saved" );
}

CMD:gotopos(playeridargs) {
    
SetPlayerPosplayeridsavedPosition[0], savedPosition[1], savedPosition[2] );
    
SendClientMessageplayerid, -1"You were teleported" );

Reply


Messages In This Thread
Pos for all - by suni - 16.12.2015, 20:56
Re: Pos for all - by prineside - 16.12.2015, 21:03
Re: Pos for all - by malackov - 16.12.2015, 21:04
Re: Pos for all - by suni - 16.12.2015, 21:14

Forum Jump:


Users browsing this thread: 1 Guest(s)