29.12.2011, 21:00
Try this:
pawn Код:
public OnPlayerPickUpPickup(playerid, pickupid)
{
switch(pickupid)
{
case news:
{
SendClientMessage(playerid, COLOR_GREY,"-------------------------------------------------------------------------------------------------");
SendClientMessage(playerid, COLOR_LIGHTGREEN,"KAUFMAN CAB RECRUIMENT OFFICE");
SendClientMessage(playerid, COLOR_GREY,"We are hiring new drivers! Type /TaxiJob for become a Kaufman's driver and start your work!");
SendClientMessage(playerid, COLOR_GREY,"Use /R [Message] for comunicate with the other drivers. At every call you will see a message on your laptop.");
SendClientMessage(playerid, COLOR_GREY,"-------------------------------------------------------------------------------------------------");
}
case pw:
{
SendClientMessage(playerid, COLOR_GREY,"-------------------------------------------------------------------------------------------------");
SendClientMessage(playerid, COLOR_LIGHTGREEN,"BONE COUNTY PUBLIC WORKS RECRUIMENT OFFICE");
SendClientMessage(playerid, COLOR_GREY,"We are hiring new workers! Type /PublicWorks for become a Public Worker and start your job!");
SendClientMessage(playerid, COLOR_GREY,"Use /R [Message] for comunicate with the other workers.");
SendClientMessage(playerid, COLOR_GREY,"-------------------------------------------------------------------------------------------------");
}
case taxi:
{
SendClientMessage(playerid, COLOR_GREY,"-------------------------------------------------------------------------------------------------");
SendClientMessage(playerid, COLOR_LIGHTGREEN,"SAN ANDREAS NETWORK RECRUIMENT OFFICE");
SendClientMessage(playerid, COLOR_GREY,"We are hiring new reporters! Type /SannJob for become a Reporter and start your Journalistc Career!");
SendClientMessage(playerid, COLOR_GREY,"-------------------------------------------------------------------------------------------------");
}
}
return 1;
}