Reallife Roleplay
#5

Quote:
Originally Posted by DJDhan
Посмотреть сообщение
ConvertFFS.com converts both the objects and the vehicles. So all you need to do is paste the contents of your .map file and it will convert them.

For your tutorial requests;


It's the same as creating teams.
I have explained it HERE.


What's a tutu system?


You mean how to reserve vehicles for certain jobs only?

Let's take fbi faction/job for example,

At top of scipt:
Код:
new fbivehicle;
Under OnGameModeIni():
Код:
fbivehicle = CreateVehicle(........................); //fill in the blanks
Then under OnPlayerEnterVehicle(playerid,vehicleid)

Код:
if(vehicleid == fbivehicle)
{
    if(pInfo[playerid][job] !=1)
    {
        RemovePlayerFromVehicle(playerid);
        return SendClientMessage(playerid,0xffffffaa,"This is a "FBI" vehicle."); //change pInfo[playerid][job] to whatever you decide name them from the tut for teams
    }

    return 1;
}
this is the eror:::

Quote:

C:\DOCUME~1\Londen\BUREAU~1\SA-MPS~1\ROLEPL~2.PWN(119 : error 017: undefined symbol "pInfo"
C:\DOCUME~1\Londen\BUREAU~1\SA-MPS~1\ROLEPL~2.PWN(119 : warning 215: expression has no effect
C:\DOCUME~1\Londen\BUREAU~1\SA-MPS~1\ROLEPL~2.PWN(119 : error 001: expected token: ";", but found "]"
C:\DOCUME~1\Londen\BUREAU~1\SA-MPS~1\ROLEPL~2.PWN(119 : error 029: invalid expression, assumed zero
C:\DOCUME~1\Londen\BUREAU~1\SA-MPS~1\ROLEPL~2.PWN(119 : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


4 Errors.

Reply


Messages In This Thread
Reallife Roleplay - by admine - 16.07.2010, 17:55
Re: Reallife Roleplay - by DJDhan - 16.07.2010, 19:00
Re: Reallife Roleplay - by admine - 16.07.2010, 20:48
Re: Reallife Roleplay - by admine - 16.07.2010, 20:53
Re: Reallife Roleplay - by admine - 17.07.2010, 19:28

Forum Jump:


Users browsing this thread: 1 Guest(s)