aidez moi svp

  • Initiateur de la discussion borra400
  • Date de début
  • Initiateur de la discussion
B

borra400

Bambi
Messages
11
Score réaction
0
Points
35
Je cherche une personne qui pourais me coder mes metier gratuitement car je n'ai plus d'argent sa serait bien gentille a vous car lorsque j'essaie de les faire je n'y arrive pas meme a l'aide de thecollingbeast

merci d'avance ;)
 
Azimut

Azimut

Geek
Messages
123
Score réaction
36
Points
80
BlitzFire

BlitzFire

Geek suprême
Messages
707
Score réaction
131
Points
150
  • J'aime
Réactions: Azimut
  • Initiateur de la discussion
B

borra400

Bambi
Messages
11
Score réaction
0
Points
35
oui coder les metier de mon serveur gmod
 
Azimut

Azimut

Geek
Messages
123
Score réaction
36
Points
80
  • J'aime
Réactions: BlitzFire
BlitzFire

BlitzFire

Geek suprême
Messages
707
Score réaction
131
Points
150
borra400 à dit:
oui coder les metier de mon serveur gmod
Alors oui mais non on configure un métier on le 'code' pas ;)
 
  • Initiateur de la discussion
B

borra400

Bambi
Messages
11
Score réaction
0
Points
35
non il y a des ligne de code qui ressemble a çà

TEAM_CITIZEN = DarkRP.createJob("citoyen", {
color = Color(20, 150, 20, 255),
model = {
"models/player/Group01/Female_01.mdl",
"models/player/Group01/Female_02.mdl",
"models/player/Group01/Female_03.mdl",
"models/player/Group01/Female_04.mdl",
"models/player/Group01/Female_06.mdl",
"models/player/group01/male_01.mdl",
"models/player/Group01/Male_02.mdl",
"models/player/Group01/male_03.mdl",
"models/player/Group01/Male_04.mdl",
"models/player/Group01/Male_05.mdl",
"models/player/Group01/Male_06.mdl",
"models/player/Group01/Male_07.mdl",
"models/player/Group01/Male_08.mdl",
"models/player/Group01/Male_09.mdl"
},
description = [[Vous étes un citoyen ordinaire vous n'etes pas dans l'illegale vous avez peur des arme que se soit arme blanche ou arme a feu.]],
weapons = {},
command = "citizen",
max = 0,
salary = 50,
admin = 0,
vote = false,
hasLicense = false,
candemote = false,
category = "Citizens",
})

quand on fait une ligne de code on code
 
BlitzFire

BlitzFire

Geek suprême
Messages
707
Score réaction
131
Points
150
borra400 à dit:
non il y a des ligne de code qui ressemble a çà

TEAM_CITIZEN = DarkRP.createJob("citoyen", {
color = Color(20, 150, 20, 255),
model = {
"models/player/Group01/Female_01.mdl",
"models/player/Group01/Female_02.mdl",
"models/player/Group01/Female_03.mdl",
"models/player/Group01/Female_04.mdl",
"models/player/Group01/Female_06.mdl",
"models/player/group01/male_01.mdl",
"models/player/Group01/Male_02.mdl",
"models/player/Group01/male_03.mdl",
"models/player/Group01/Male_04.mdl",
"models/player/Group01/Male_05.mdl",
"models/player/Group01/Male_06.mdl",
"models/player/Group01/Male_07.mdl",
"models/player/Group01/Male_08.mdl",
"models/player/Group01/Male_09.mdl"
},
description = [[Vous étes un citoyen ordinaire vous n'etes pas dans l'illegale vous avez peur des arme que se soit arme blanche ou arme a feu.]],
weapons = {},
command = "citizen",
max = 0,
salary = 50,
admin = 0,
vote = false,
hasLicense = false,
candemote = false,
category = "Citizens",
})

quand on fait une ligne de code on code
OK
Bon je vais te répondre très clairement.

Ok alors ça c'est du PHP un language de programmation:
PHP:
$baseURL = "https://api.smartsheet.com/1.1"; $usersURL = $baseURL ."/users"; $userURL = $baseURL ."/user/{{USERID}}"; $sheetsURL = $baseURL ."/sheets"; $usersSheetsURL = $usersURL ."/sheets"; $accessToken = ""; $user1Email = ""; $user2Email = ""; $headers = array( "Authorization: Bearer ". $accessToken, "Content-Type: application/json" ); echo "Starting HelloSmartsheet4: Administration...\n\n"; echo "Adding user ". $user1Email ."\n"; $user1 = new User(); $user1->email = $user1Email; $user1->admin = false; $user1->licensedSheetCreator = true; $user1->firstName = "User"; $user1->lastName = "One"; $addUserURL = $usersURL ."?sendEmail=true"; $postfields = json_encode($user1); $curlSession = curl_init($addUserURL); curl_setopt($curlSession, CURLOPT_HTTPHEADER, $headers); curl_setopt($curlSession, CURLOPT_POST, 1); curl_setopt($curlSession, CURLOPT_POSTFIELDS, $postfields); curl_setopt($curlSession, CURLOPT_RETURNTRANSFER, TRUE); $addUser1Response = curl_exec($curlSession); if (curl_errno($curlSession)) { print "Oh No! Error: " . curl_error($curlSession); } else { $user1Obj = json_decode($addUser1Response); echo "User ". $user1Obj->result->email ." added with userId ". $user1Obj->result->id ."\n"; curl_close($curlSession); } echo "Adding user". $user2Email ."\n"; $user2 = new User(); $user2->email = $user2Email; $user2->admin = true; $user2->licensedSheetCreator = true; $user2->firstName = "User"; $user2->lastName = "Two"; $postfields = json_encode($user2); $curlSession = curl_init($addUserURL); curl_setopt($curlSession, CURLOPT_HTTPHEADER, $headers); curl_setopt($curlSession, CURLOPT_POST, 1); curl_setopt($curlSession, CURLOPT_POSTFIELDS, $postfields); curl_setopt($curlSession, CURLOPT_RETURNTRANSFER, TRUE); $addUser2Response = curl_exec($curlSession); if (curl_errno($curlSession)) { print "Oh No! Error: " . curl_error($curlSession); } else { $user2Obj = json_decode($addUser2Response); echo "User ". $user2Obj->result->email ." added with userId ". $user2Obj->result->id ."\n\n"; curl_close($curlSession); } echo "Please visit the email inbox for the users ". $user1Email ." and ". $user2Email ." and confirm membership to the account.\n"; echo "Press ENTER to continue\n"; fgetc(STDIN); $curlSession = curl_init($usersURL); curl_setopt($curlSession, CURLOPT_HTTPHEADER, $headers); curl_setopt($curlSession, CURLOPT_RETURNTRANSFER, TRUE); $listUsersResponse = curl_exec($curlSession); if (curl_errno($curlSession)) { echo "Oh No! Error: " . curl_error($curlSession); } else { $userListObj = json_decode($listUsersResponse); if(count($userListObj) > 0){ echo "The following are members of your account: \n"; foreach($userListObj as $user){ echo "\t". $user->email ." \n"; } } else { echo "Do you feel lonely? Because, you have no users.\n" ; } curl_close($curlSession); } echo "\n"; $adminSheet = new Sheet(); $adminCols = array(); $adminSheet->name = "Admin's Sheet"; $adminCol1 = new Column(); $adminCol1->title = "Column 1"; $adminCol1->type = "TEXT_NUMBER"; $adminCol1->primary = true; array_push($adminCols, $adminCol1);
Ce sont des 'lignes de code'. Car il crée il est exécuté pour produire quelque chose

--------------------------------------------------------

Code:
TEAM_CITIZEN = DarkRP.createJob("citoyen", {
color = Color(20, 150, 20, 255),
model = {
"models/player/Group01/Female_01.mdl",
"models/player/Group01/Female_02.mdl",
"models/player/Group01/Female_03.mdl",
"models/player/Group01/Female_04.mdl",
"models/player/Group01/Female_06.mdl",
"models/player/group01/male_01.mdl",
"models/player/Group01/Male_02.mdl",
"models/player/Group01/male_03.mdl",
"models/player/Group01/Male_04.mdl",
"models/player/Group01/Male_05.mdl",
"models/player/Group01/Male_06.mdl",
"models/player/Group01/Male_07.mdl",
"models/player/Group01/Male_08.mdl",
"models/player/Group01/Male_09.mdl"
},
description = [[Vous étes un citoyen ordinaire vous n'etes pas dans l'illegale vous avez peur des arme que se soit arme blanche ou arme a feu.]],
weapons = {},
command = "citizen",
max = 0,
salary = 50,
admin = 0,
vote = false,
hasLicense = false,
candemote = false,
category = "Citizens",
})
Et sa c'est du Lua ( un autre language ) crée du JSON ( un autre 'language' ) donc:
Code:
{
color = Color(20, 150, 20, 255),
model = {
"models/player/Group01/Female_01.mdl",
"models/player/Group01/Female_02.mdl",
"models/player/Group01/Female_03.mdl",
"models/player/Group01/Female_04.mdl",
"models/player/Group01/Female_06.mdl",
"models/player/group01/male_01.mdl",
"models/player/Group01/Male_02.mdl",
"models/player/Group01/male_03.mdl",
"models/player/Group01/Male_04.mdl",
"models/player/Group01/Male_05.mdl",
"models/player/Group01/Male_06.mdl",
"models/player/Group01/Male_07.mdl",
"models/player/Group01/Male_08.mdl",
"models/player/Group01/Male_09.mdl"
},
description = [[Vous étes un citoyen ordinaire vous n'etes pas dans l'illegale vous avez peur des arme que se soit arme blanche ou arme a feu.]],
weapons = {},
command = "citizen",
max = 0,
salary = 50,
admin = 0,
vote = false,
hasLicense = false,
candemote = false,
category = "Citizens",
}
ça c'est du JSON qui est considérer comme du texte simple est non pas comme du code car il ne 'crée'/produit rien il ne sert que à stockez des informations donc ce n'est pas du code mais une sorte de configuration des données.

Par contre crée un 'script gmod' c'est du 'code'
 
  • Initiateur de la discussion
B

borra400

Bambi
Messages
11
Score réaction
0
Points
35
ok je m'avoue vaincu tu a trop de competance pour moi ;)
 
Discord d'entraide
Rejoignz-nous sur Discord