03.01.2011, 20:47
Im trying to create multiple checkpoints for my job.
And this is how mine looks right now:
I want to IN that script, do some kind of cmd that says: Now that you have entered that checkpoint, go to the next one: SetPlayerCheckpoint etc etc.
Please help me guys. Appreciate it
If you can help me through msn, please do add me!
remihayek1994@hotmail.com
And this is how mine looks right now:
pawn Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
if(strcmp("/startsweep", cmdtext, true, 6) == 0)
{
if(IsPlayerInAnyVehicle(playerid))
{
new vehid = GetPlayerVehicleID(playerid);
if(GetVehicleModel(vehid) == 574)
{
SetPlayerCheckpoint(playerid, -2272.1460,2354.0540,4.5454, 3.0);
}
else SendClientMessage(playerid, 0xFFFFFFAA, "You need to be in a sweeper, to use this command!");
}
else SendClientMessage(playerid, 0xFFFFFFAA, "You need to be in a vehicle, to use this command!");
return 1;
}
return 0;
}
I want to IN that script, do some kind of cmd that says: Now that you have entered that checkpoint, go to the next one: SetPlayerCheckpoint etc etc.
Please help me guys. Appreciate it

If you can help me through msn, please do add me!

remihayek1994@hotmail.com