Getting started
#1

I wanna try create tennis fs.The tool (weapon) would be baseball bat.And to bounce ball use the beach ball.So how do i start? Which lines to edit? Need pawn code to get started
Reply
#2

Sounds awsome! I have think about this before to Good luck
Reply
#3

pawn Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
    if (strcmp("/playtennis", cmdtext, true, 10) == 0)
    {
                //Set the position of the tennis field              
                SetPlayerPos(playerid, positionhere);
                //Gives the player a bb bat
                GivePlayerWeapon(playerid, 5, 1);
               
        return 1;
    }
This is what you have to start with, set the tennis field, give the player a bat, and then you should make the ball movable, and when a players punch it in a special radius, then the ball should move in some directions.. Find out yourself, there are a lot of tutorials about that.

Rep me if i helped.

- cruteX
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)