24.10.2011, 17:28
Think i totally failed i was trying to make this cmd into a dialog that show up when u pickup a pickup.
Could anyone how me what i need to do this?
Код:
COMMAND:challange1(playerid, params[]) { if( IsPlayerInRangeOfPoint( playerid, 3.0, 1017.3148, -929.1449, 420.1316 ) ) // change the '1, 2, 3' to the coords for bigjump 1 (example) PutPlayerInVehicle(playerid, cvehicle, 0); SetVehiclePos(cvehicle, 1020.7713, -920.2669, 419.8624); SetPlayerCheckpoint(playerid, 248.4739, -1329.2743, 52.6960, 5); // This will change the variable, so we can use it later on with OnPlayerEnterCheckpoint Challange1 = CreateDynamicCP( 248.4739, -1329.2743, 52.6960, 5); SendClientMessage(playerid, 0xFFFFFFFF, "You Started The Big Jump 1 Challange Get To The Checkpoint Quick"); return 1; }