Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if(dialogid == Auto)
- {
- switch(listitem)
- {
- case 0:
- {
- if(gTeam[playerid] == GroveStreet)
- {
- new Float:x, Float:y, Float:z, Float:a;
- GetPlayerPos(playerid, x,y,z);
- GetPlayerFacingAngle(playerid, a);
- CreateVehicle(562, x+3,y,z, a, Verde, Verde, -1);
- printf("Auto Spawnata");
- PutPlayerInVehicle(playerid, 562, 0);
- }
- else if(gTeam[playerid] == Ballas)
- {
- new Float:x, Float:y, Float:z, Float:a;
- GetPlayerPos(playerid, x,y,z);
- GetPlayerFacingAngle(playerid, a);
- CreateVehicle(562, x+3,y,z, a, Viola, Viola, -1);
- printf("Auto Spawnata");
- PutPlayerInVehicle(playerid, 562, 0);
- }
- }
- }
- return 1;
- }
- // but if i do /elegy it works
- CMD:elegy(playerid, params[])
- {
- new Float:x, Float:y, Float:z, Float:a;
- GetPlayerPos(playerid, x,y,z);
- GetPlayerFacingAngle(playerid, a);
- CreateVehicle(562, x+3,y,z, a, Verde, Verde, -1);
- printf("Auto Spawnata");
- PutPlayerInVehicle(playerid, 562, 0);
- return 1;
- }
Advertisement
Add Comment
Please, Sign In to add comment