27.09.2013, 09:09
I edited a new pilot mission for a roleplay server but checkpoints are not showing in a game.,.. any idea? please help me from my skype: lion.lion692.
Код:
new rand2 = random(2), vtext[32], string[128]; if(rand2 == 0) { vtext = "Passengers"; } else if(rand2 == 1) { vtext = "Cargo"; } else if(rand2 == 2) { vtext = "Food"; } Checkpoints[playerid][0] = CreateDynamicCP(1899.1376,-2354.3645,13.5469, 15.0, 0, 0, 0, 100.0); SetPlayerMapIcon(playerid, 1, 1899.1376,-2354.3645,13.5469, 0, COLOR_RED, MAPICON_GLOBAL); PilotJobs[playerid][0] = true; format(string,sizeof(string),"* {FF0000}Pickup the {0000FF}%s {FF0000}at {00FF00}Los Santos Airport.", vtext); SendClientMessage(playerid, COLOR_LIGHTRED, string);