setplayerclass alike command
#1

Hi. So far I managed to do this.




PHP код:
CMD:buyphone(playerid)
{
    
SetPlayerFacingAngle(playerid,1127.0055);
    
SetPlayerCameraPos(playerid1127.0055,-1556.1437,-30.2015);
    
SetPlayerCameraLookAt(playerid1127.0055,-1556.1437,-30.2015);
    return 
1;

My question is, how can I add Next / Prev / Buy button, which will show new playercamera and if Buy button is pressed, to give pInfo[i][Money] -= 500

?
Reply
#2

Create textdraws and use onplayerclicktextdraw
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)