WTF.
pawn Код:
public OnPlayerEnterDynamicCP(playerid, checkpointid)
{
if(CarCP[playerid] == 0)
{
PlayerPlaySound(playerid, 1057, 0.0, 0.0, 0.0);
ShowPlayerDialog(playerid, 21, DIALOG_STYLE_LIST, "Cars", "Landstalker ($125,000)\nElegy ($200,000)\nInfernus ($500,000)\nSultan ($350,000)\nFlash ($300,000)\nBuffalo ($475,000)\nMonster ($775,000)\nCheetah ($375,555)\nSlamvan ($430,000)\nFortune ($450,550)\nBullet ($475,550)\nAdmiral ($175,000)\nHotknife ($490,000)\nElegant ($403, 500)\nSuper-Gt ($498,500)\nZr-350 ($475,550)", "Buy", "Cancel");
CarCP[playerid] = 0;
}
return 1;
}
- Show me how you created the car checkpoint.