#1

I'm looking for a base to create that command you type /criarpickup and it creates a pickup in their coordinates ..
Reply
#2

I had done this quickly edit here it is a good base

Helped? + REP

PHP код:
COMMAND:criarpick(playeridparams[]) { 
new 
PickupModeloPickIDMsg[128], Float:xFloat:yFloat:zPickupTipo// Setup local variaveis 
for (new iMAX_PLAYERSi++){ 
if (
IsPlayerConnected(i)) //Check Se o player estб connectado 

if (
IsPlayerAdmin(i)) //Check Admin mude conforme seu sistema de admin aqui estб para Rcon 

if (
sscanf(params"ifffi"PickupModeloxyzPickupTipo)) SendClientMessage(playerid0xFF0000AA"Digite: \"/criarpick <PickupModelo> <x> <y> <z> <PickupTipo>\""); 
else 

PickID CreatePickup(PickupModeloPickupTipoxyz, -1); //Carregar Pickp em Spawn 
format(Msg128"Voce Criou o pickup-id %i [modelo-id = %i Local Da Criaзao: x=%4.2f, y=%4.2f, z=%4.2f"PickIDPickupModeloxyz); //Informaзoes da Criaзao ... 
SendClientMessage(playerid0xFFFF00FFMsg); 


else 
return 
0

else 
return 
0

return 
1

Reply
#3

in strcmp up ..
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)