|
How do I create a job system |
|
How do I make a tutu rail system for roleplay? S |
|
How do I access only to board a car Job certain persons |
new fbivehicle;
fbivehicle = CreateVehicle(........................); //fill in the blanks
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 may |
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; Код:
fbivehicle = CreateVehicle(........................); //fill in the blanks Код:
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;
}
|
|
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 effectC:\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 zeroC:\DOCUME~1\Londen\BUREAU~1\SA-MPS~1\ROLEPL~2.PWN(119 : fatal error 107: too many error messages on one lineCompilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 4 Errors. |