Jump to content

shake4god

Membru
  • Posts

    3
  • Joined

  • Last visited

Profile Information

  • Level of knowledge
    Mediu

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

shake4god's Achievements

Newbie

Newbie (1/14)

  • First Post
  • Conversation Starter
  • Week One Done
  • One Month Later
  • One Year In

Recent Badges

0

Reputation

  1. Mda,imi da asta .pwn(33622) :error 017: undefined symbol "gPlayerLogged" .pwn(33622) : warning 215: expression has no effect .pwn(33622) : error 001: expected token: ";", but found "]" .pwn(33622) : error 029: invalid expression, assumed zero .pwn(33622) : fatal error 107: too many error messages on one line
  2. Am pus 1 in loc de 0 dar tot asa e...uite CMD:goto(playerid, params[]) { if(playerVariables[playerid][pAdminLevel] >= 1) { new userID; new vehicleid = GetPlayerVehicleID(userID); if(sscanf(params, "u", userID)) { return SendClientMessage(playerid, COLOR_GREY, SYNTAX_MESSAGE"/goto [playerid]"); } else { if(!IsPlayerConnected(userID)) return SendClientMessage(playerid, COLOR_GREY, "The specified player ID is either not connected or has not authenticated."); new messageString[64]; new Float: fPos[3]; GetPlayerPos(userID, fPos[0], fPos[1], fPos[2]); if(IsPlayerInAnyVehicle(userID) && GetPlayerState(userID) == PLAYER_STATE_DRIVER) { LinkVehicleToInterior(GetPlayerVehicleID(playerid), GetPlayerInterior(userID)); SetVehicleVirtualWorld(GetPlayerVehicleID(playerid), GetPlayerVirtualWorld(userID)); PutPlayerInVehicle(playerid, vehicleid, 1); SetPlayerPos(playerid, fPos[0], fPos[1]+2, fPos[2]); } else { SetPlayerPos(playerid, fPos[0], fPos[1]+2, fPos[2]); } SetPlayerInterior(playerid, GetPlayerInterior(userID)); SetPlayerVirtualWorld(playerid, GetPlayerVirtualWorld(userID)); GetPlayerName(userID, szPlayerName, MAX_PLAYER_NAME); format(messageString, sizeof(messageString), "You have teleported to %s.", szPlayerName); SendClientMessage(playerid, COLOR_WHITE, messageString); IsOnDM[playerid] = IsOnDM[userID]; InBizz[playerid] = InBizz[userID]; InHouse[playerid] = InHouse[userID]; InHQ[playerid] = InHQ[userID]; } } return 1; }
  3. Descriere tutorial: Sall deci as dorii sa ma ajutati si pe mn sa implantez comanda /goto [id] dar sa ma dea si in masina daca merge cu ea... Asta e comanda incercata de mine dar nu ma da in masina player-ului. CMD:goto(playerid, params[]) { if(playerVariables[playerid][pAdminLevel] >= 1) { new userID; new vehicleid = GetPlayerVehicleID(userID); if(sscanf(params, "u", userID)) { return SendClientMessage(playerid, COLOR_GREY, SYNTAX_MESSAGE"/goto [playerid]"); } else { if(!IsPlayerConnected(userID)) return SendClientMessage(playerid, COLOR_GREY, "The specified player ID is either not connected or has not authenticated."); new messageString[64]; new Float: fPos[3]; GetPlayerPos(userID, fPos[0], fPos[1], fPos[2]); if(IsPlayerInAnyVehicle(userID) && GetPlayerState(userID) == PLAYER_STATE_DRIVER) { LinkVehicleToInterior(GetPlayerVehicleID(playerid), GetPlayerInterior(userID)); SetVehicleVirtualWorld(GetPlayerVehicleID(playerid), GetPlayerVirtualWorld(userID)); PutPlayerInVehicle(playerid, vehicleid, 0); SetPlayerPos(playerid, fPos[0], fPos[1]+2, fPos[2]); } else { SetPlayerPos(playerid, fPos[0], fPos[1]+2, fPos[2]); } SetPlayerInterior(playerid, GetPlayerInterior(userID)); SetPlayerVirtualWorld(playerid, GetPlayerVirtualWorld(userID)); GetPlayerName(userID, szPlayerName, MAX_PLAYER_NAME); format(messageString, sizeof(messageString), "You have teleported to %s.", szPlayerName); SendClientMessage(playerid, COLOR_WHITE, messageString); IsOnDM[playerid] = IsOnDM[userID]; InBizz[playerid] = InBizz[userID]; InHouse[playerid] = InHouse[userID]; InHQ[playerid] = InHQ[userID]; } } return 1; }
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.