24.01.2017, 01:44
Код:
new PKTime[MAX_PLAYERS]; public OnPlayerPickUpPickup(playerid, pickupid) { if(gettime() - PKTime[playerid] >= 3) { if(pickupid == Emprego) { SendClientMessage(playerid, Motor,"•~~~~~~~~~~~~~~~~~~~~~~~ Emprego ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~•"); SendClientMessage(playerid, Branco,"• Para iniciar seu serviзo como motorista de carro forte use: /Trabalhar"); SendClientMessage(playerid, Motor,"•~~~~~~~~~~~~~~~~~~~~~~~ Emprego ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~•"); } if(pickupid == Equipamento) { SendClientMessage(playerid, Motor,"•~~~~~~~~~~~~~~~~ Equipamento ~~~~~~~~~~~~~~~~~~~~~•"); SendClientMessage(playerid, Branco,"• Para usar seu equipamento de trabalho use: /Equipar"); SendClientMessage(playerid, Motor,"•~~~~~~~~~~~~~~~~ Equipamento ~~~~~~~~~~~~~~~~~~~~~•"); GameTextForPlayer(playerid, "~y~M. de carro forte~n~~w~Use~n~/Equipar", 3000, 5); } } PKTime[playerid] = gettime(); return 1; }