Why don't spawn vehicle help
#1

PHP код:
 CMD:spawnaveicolo(playeridparams[])
#pragma unused params
    
{
    if (
PlayerInfo[playerid][pAdminLevel]<=3) return SendClientMessage(playeridCOLOR_RED"Non sei un membro dello Staff o non hai il livello necessario");
    {
        
ShowPlayerDialog(playeriddialog_CarSpawnerDIALOG_STYLE_LIST"Spawner Sistem (HPanel)""Infernus\nTurismo\nPhoenix\nCheetah\nBanshee\nEuros\nBuffalo\nKart\nHotknife\nHustler\nComet\nStallion\nSunrise\nSandking""Spawna""Annulla");
    }
    return 
1;

Why don't spawn guys
Reply
#2

You show the wrong code
Show onplayerdialogresponse
Reply
#3

I have only this command
Reply
#4

You've clearly copied this from somewhere. Since the command is using a dialog to select which vehicle to spawn, you need to do something under OnDialogResponse.
Reply
#5

And
Код:
#pragma unused params
is in wrong place
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)