- 0
Problema event
-
Similar Content
-
- 1 reply
- 147 views
-
Problema
By ImJustSlim,
- 3 answers
- 258 views
-
- 2 replies
- 141 views
-
- 1 answer
- 283 views
-
- 6 answers
- 1,126 views
-
-
Recently Browsing 0 members
- No registered users viewing this page.
By ImJustSlim,
We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.
Question
TheGodfather
Salut, cand iau aceasta servieta, imi apare un checkpoint pe harta si trebuie sa o duc acolo pentru a castiga eventul dar daca merg la o casa si intru in iconita asta imi spune ca am terminat eventul, ceea ce e incorect
aici este partea de cod care verifica daca ai luat servieta:
public OnPlayerPickUpPickup(playerid, pickupid) {
if(pickupid == CashboxPickup)
{
PlayerPlaySound(playerid, 1150, 0, 0, 0);
new strr[128], pName[MAX_PLAYER_NAME];
DestroyPickup(CashboxPickup);
CashboxOwner = playerid;
GetPlayerName(playerid, pName, sizeof(pName));
format(strr, 128, "{ff6600}%s {FFFFFF} a luat servieta! Omorati-l pana nu o duce la destinatie!", pName);
SendClientMessageToAll(0xFFD700AA, strr);
SendClientMessageToAll(0xFFD700AA,"{FFFFFF}Foloseste{00B1E6} /locate{FFFFFF} pentru a vedea unde se afla posesorul servietei.");
SendClientMessage(playerid,0xAA3333AA,"{E4B339}Esti in posesia servietei! Du-te cu ea la destinatie cat mai repede!");
new rand = random(sizeof(DropLocation));
IsCashBoxStarted = 1;
CP[playerid] = SetPlayerCheckpointEx(playerid, DropLocation[rand][0], DropLocation[rand][1], DropLocation[rand][2], 3);
Edited by TheGodfather}
}
Link to comment
Share on other sites
0 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.