Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /* Script Aiuti Pawn - Iksserver.forumfree.it */
- #include <a_samp>
- new nome[MAX_PLAYER_NAME], stringa[500]; //Questi mettili in alto, così eviti di ripeterli sempre nei cmd.
- public OnPlayerCommandText(playerid, cmdtext[])
- {
- if(strcmp(cmd,"/tsudrift", true)== 0)
- {
- GameTextForPlayer(playerid, "Benvenuto nella Big Ear di TSUNAMI",5000,5);
- SetPlayerPos(playerid, -395.50515747,1532.43481445,75.30249786); //teletrasporta nelle coordinate.
- SetPlayerInterior(playerid, 0); //Sempre per sicurezza, in caso fossi dentro un Interior. Questo non va messo solo quando si vuole andare in un interior.
- GetPlayerName(playerid, nome, sizeof(nome));
- format(stringa, sizeof(stringa), "%s si è teleporato nella Big Ear di TSUNAMI (/tsudrift)", nome);
- SendClientMessageToAll(COLORE_ROSSO, stringa);
- return 1;} //Per il cmd
- return 1;} //Per il callback
Advertisement
Add Comment
Please, Sign In to add comment