Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public OnPlayerCommandText(playerid, cmdtext[])
- {
- if (strcmp("/plane", cmdtext)
- {
- CreateVehicle(519);
- return 1;
- }
- if (strcmp("/inf", cmdtext)
- {
- CreateVehicle(411);
- return 1;
- }
- if (strcmp("/boat", cmdtext)
- {
- CreateVehicle(446);
- return 1;
- }
- if (strcmp("/heli", cmdtext)
- {
- CreateVehicle(487);
- return 1;
- }
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement