on player enter checkpoint MAJOR BUG
#9

Quote:
Originally Posted by davve95
Посмотреть сообщение
I lend the topic abit, since it's related to checkpoints aswell.
I'm using Incognito's though. I wanna use IsPlayerInDynamicCP. But in this form:

Код:
public IsPlayerInDynamicCP(playerid, checkpointid)
{

}
But it dosen't work. Maybe it's the wrong native, I coulden't found the correct one at the Wiki.
And I don't wanna use it as just if IsPlayerInDynamicCP becuse then I have to merge it into some other function, but I don't want it.

Hope you get what I mean.
Here's the error btw:

C:\Users\D4VV3 BL4CK\Desktop\Cra.pwn(91) : error 054: unmatched closing brace ("}")


(Really long time ago I scripted. I had another script containing the solution, as I have done it before but I couldn't find it)
That does not seem like a callback to me. Looks more like a function.

Use the callback OnPlayerEnterDynamicCP, or alternatively use IsPlayerInDynamicCP Inside OnPlayerUpdate, inside a command or wherever it suits your needs.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)