Job Help
#1

************ Please Some One Help
-----------------------------------------------------------------------
Hi all
I create a trucker job whit normal check point.
but i want changed to race checkpoint because is bug.when player enter checkpoint the checkpoint
nothing give player . no score - money or ... .because i want change to race checkpoint
So.
This Is The Line 3803
pawn Код:
SetPlayerCheckpoint(playerid,tcp[rand][0],tcp[rand][1],tcp[rand][2],tcp[rand][3]);
And When I Change The SetPlayerCheckpoint To SetPlayerRaceCheckPoint The Complier Give Me This Errrors :
pawn Код:
.pwn(3803) : warning 213: tag mismatch
.pwn(3803) : warning 202: number of arguments does not match definition
.pwn(3803) : warning 202: number of arguments does not match definition
.pwn(3803) : warning 202: number of arguments does not match definition
.pwn(3803) : warning 202: number of arguments does not match definition
Pawn compiler 3.2.3664          Copyright (c) 1997-2006, ITB CompuPhase


5 Warnings.
Reply
#2

These are warnings, you dont have to fix them.
Reply
#3

Quote:

if(IsPlayerInRangeOfPoint(playerid, You can chose the place) && PlayerInfo[playerid][pJob]== JobID && JobDuty[playerid] == 1)
SendClientMessage(playerid, COLOR_LIGHTBLUE, "Mission successfull.");
GiveScore(playerid, 10);
DisablePlayerCheckpoint(playerid);
PlayerPlaySound(playerid, 1056, 0.0, 0.0, 0.0);
}

It does work just like this, You can edit other things such job id ect
Quote:

public OnPlayerEnterCheckpoint(playerid)
{
new newcar = GetPlayerVehicleID(playerid);

I beleive this will be usefull.
Reply
#4

-NVM, you did-
Reply
#5

Код:
SetPlayerRaceCheckpoint(playerid, type, Float:x, Float:y, Float:z, Float:nextx, Float:nexty, Float:nextz, Float:size);
Read the wiki for god sakes...
https://sampwiki.blast.hk/wiki/SetPlayerRaceCheckpoint

This is not the scripting request thread, don't ask people to make your scripts for you here.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)