Advertisement
WildWave

Untitled

Jul 6th, 2015
290
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.     if(strcmp(cmd, "/vdel", true) == 0)
  2.     {
  3.         if(!IsPlayerAdmin(playerid)) return SendClientMessage(playerid, COLOR_RED,"!àúä ìà øùàé ìëúåá àú äô÷åãä");
  4.         if(!IsPlayerInAnyVehicle(playerid)) return SendClientMessage(playerid, COLOR_RED,"!àúä ìà áøëá ");
  5.         currentveh = GetPlayerVehicleID(playerid);
  6.         DestroyVehicle(currentveh);
  7.  
  8.         dcInfo[currentveh][pCarID] = 0;
  9.         dcInfo[currentveh][pX] = 0;
  10.         dcInfo[currentveh][pY] = 0;
  11.         dcInfo[currentveh][pZ] = 0;
  12.         dcInfo[currentveh][pA] = 0;
  13.         dcInfo[currentveh][pColor1] = 0;
  14.         dcInfo[currentveh][pColor2] = 0;
  15.         new string[256];
  16.         format(string,256,"DELETE FROM `vehicles` WHERE `id` = '%d'",dcInfo[Vehicles[currentveh]][pID]);
  17.         mysql_function_query(dbHandle,string,false,"","");
  18.         printf(string);
  19.         format(String,sizeof(String),"! %d :îç÷úä àú äøëá áäöìçä åàééãé ùìå äåà",dcInfo[Vehicles[currentveh]][pID]);
  20.         SendClientMessage(playerid, COLOR_WHITE,String);
  21.         return 1;
  22.     }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement