Advertisement
Shiny_

Untitled

Sep 7th, 2013
176
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.39 KB | None | 0 0
  1. PUBLIC OnPlayerCommandText(int playerid, const char * cmdtext) {
  2.     if(strcmp_n(cmdtext, "/infernus")) {
  3.         float Pos[4];
  4.         GetPlayerPos(playerid, &Pos[0], &Pos[1], &Pos[2]);
  5.         GetVehicleZAngle(GetPlayerVehicleID(playerid), &Pos[3]);
  6.         CreateVehicle(411, Pos[0], Pos[1], Pos[2], Pos[3], -1, -1, 1500);
  7.         SendClientMessage(playerid, -1, "Tworzysz Infernusa.");
  8.         return true;
  9.     }
  10.     return false;
  11. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement