02.11.2015, 11:45
pawn Код:
public OnPlayerPickUpPickup(playerid, pickupid)
{
switch(pickupid)
{
case aumagasin1:
{
DestroyPickup(aumagasin1);
//CreatePickup(1239, 22, -1833.1565,62.1130,1055.1296, 14);
}
case aumagasin2:
{
SendClientMessage(playerid, 0xFFFFFFFF, "Vendeur dit: Bonjour, je peux vous aider ?");
DestroyPickup(aumagasin2);
toilette1 = CreatePickup(1318, 22, -1839.4929,54.2765,1055.1296);
}
case toilette1:
{
DestroyPickup(toilette1);
//CreatePickup(1318, 22, -1868.6196,46.2699,1055.1296) == frontiere
frontiere = CreatePickup(1318, 22, -1868.6196,46.2699,1055.1296);
//SetPlayerCheckpoint(playerid, -1868.6196,46.2699,1055.1296, 3.0);
}
case frontiere:
{
SendClientMessage(playerid, 0xFF0000FF,"94 c'est barзa");
DestroyPickup(frontiere);
passe = CreatePickup(1318, 22, -1868.6437,41.6172,1055.1296);
}
case passe:
{
SendClientMessage(playerid,0xFF0000FF,"Circuit du parkour reussi OKLM");
}
}
return 1;
}